summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-12-12 13:58:46 +0200
committerLauri Ojansivu <x@xet7.org>2017-12-12 13:58:46 +0200
commit8dd6255ebf7f3743b42eed670ab6bf2103321827 (patch)
treedfdc903cff568a54f0a97a5ce97eff41a88542c4 /snapcraft.yaml
parent7a943f99e3453fcd68d778d5fe8c55c805015e94 (diff)
downloadwekan-8dd6255ebf7f3743b42eed670ab6bf2103321827.tar.gz
wekan-8dd6255ebf7f3743b42eed670ab6bf2103321827.tar.bz2
wekan-8dd6255ebf7f3743b42eed670ab6bf2103321827.zip
Revert back to Meteor v1.4, Node v4.8.6 and MongoDB v3.2.18
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml14
1 files changed, 10 insertions, 4 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index e574be1f..e4466544 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -70,12 +70,12 @@ parts:
wekan:
source: .
plugin: nodejs
- node-engine: 6.12.2
+ node-engine: 4.8.4
node-packages:
- - npm@5.6.0
+ - npm@4.6.1
- node-gyp
- node-pre-gyp
- - fibers@2.0.0
+ - fibers@1.0.15
build-packages:
- python
- g++
@@ -88,10 +88,16 @@ parts:
rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
echo "installing meteor first"
curl https://install.meteor.com/ -o install_meteor.sh
- sed -i "s|RELEASE=.*|RELEASE=\"1.6\"|g" install_meteor.sh
+ sed -i "s|RELEASE=.*|RELEASE=\"1.4.4.1\"|g" install_meteor.sh
chmod +x install_meteor.sh
sh install_meteor.sh
rm install_meteor.sh
+ mkdir packages
+ cd packages
+ git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router
+ git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core
+ sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' ~/.meteor/packages/meteor-useraccounts-core/package.js
+ cd ..
build: |
rm -rf package-lock.json .build
meteor add standard-minifier-js --allow-superuser