summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-12-14 23:13:15 +0200
committerLauri Ojansivu <x@xet7.org>2018-12-14 23:13:15 +0200
commitc546464d9f56117a8bf580512cd62fc1102559c3 (patch)
tree18f870ade0e981b4be3ccc203d5b9fa89236c783 /snapcraft.yaml
parent67a5fdaf96a6932a6239302af6cefbbd60e8f347 (diff)
downloadwekan-c546464d9f56117a8bf580512cd62fc1102559c3.tar.gz
wekan-c546464d9f56117a8bf580512cd62fc1102559c3.tar.bz2
wekan-c546464d9f56117a8bf580512cd62fc1102559c3.zip
- Because scrollbar uses [remote file from CDN](https://github.com/MaazAli/Meteor-Malihu-Custom-Scrollbar/blob/master/jquery.mCustomScrollbar.js#L50),
fork package to https://github.com/wekan/wekan-scrollbar and include non-minified file locally to Wekan, so that using scrollbar works without direct connection to Internet. Wekan should not load any external files by default, as was case before new scrollbar, and is again now after this fix. Closes #2056
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index c69b1dcc..d7cd86cf 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -152,6 +152,11 @@ parts:
git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git
cd ..
fi
+ if [ ! -d "packages/wekan-scrollbar" ]; then
+ cd packages
+ git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git
+ cd ..
+ fi
rm -rf package-lock.json .build
meteor add standard-minifier-js --allow-superuser
meteor npm install --allow-superuser