summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-04-20 16:51:57 +0300
committerLauri Ojansivu <x@xet7.org>2019-04-20 16:51:57 +0300
commit02819ca16969b103493ebdd9a66f058995421507 (patch)
treea3352b65083c79ab733db2b99e7c4f0a1276277e /snapcraft.yaml
parent53d42a17ffbc6466d2d422dfdcbd867ea31fe082 (diff)
parenta5122cc0764b57a163c3e8ca3e00e703669a98db (diff)
downloadwekan-02819ca16969b103493ebdd9a66f058995421507.tar.gz
wekan-02819ca16969b103493ebdd9a66f058995421507.tar.bz2
wekan-02819ca16969b103493ebdd9a66f058995421507.zip
Merge branch 'edge' into meteor-1.8
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml84
1 files changed, 45 insertions, 39 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 4b254a7b..5a76ac29 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -81,7 +81,7 @@ parts:
wekan:
source: .
plugin: nodejs
- node-engine: 8.15.1
+ node-engine: 8.16.0
node-packages:
- node-gyp
- node-pre-gyp
@@ -106,7 +106,7 @@ parts:
rm -rf .build
mkdir -p .build/python
cd .build/python
- git clone --depth 1 -b master git://github.com/Kronuz/esprima-python
+ git clone --depth 1 -b master https://github.com/Kronuz/esprima-python
cd esprima-python
python3 setup.py install
cd ../../..
@@ -147,43 +147,49 @@ parts:
chmod +x install_meteor.sh
sh install_meteor.sh
rm install_meteor.sh
- if [ ! -d "packages" ]; then
- mkdir packages
- fi
- if [ ! -d "packages/kadira-flow-router" ]; then
- cd packages
- git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router
- cd ..
- fi
- if [ ! -d "packages/meteor-useraccounts-core" ]; then
- cd packages
- git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core
- sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' meteor-useraccounts-core/package.js
- cd ..
- fi
- if [ ! -d "packages/meteor-accounts-cas" ]; then
- cd packages
- git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git meteor-accounts-cas
- cd ..
- fi
- if [ ! -d "packages/wekan-ldap" ]; then
- cd packages
- 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
- if [ ! -d "packages/wekan_accounts-oidc" ]; then
- cd packages
- git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git
- mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc
- mv meteor-accounts-oidc/packages/switch_oidc wekan_oidc
- rm -rf meteor-accounts-oidc
- cd ..
- fi
+ # REPOS BELOW ARE INCLUDED TO WEKAN REPO
+ #if [ ! -d "packages" ]; then
+ # mkdir packages
+ #fi
+ #if [ ! -d "packages/kadira-flow-router" ]; then
+ # cd packages
+ # git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router
+ # cd ..
+ #fi
+ #if [ ! -d "packages/meteor-useraccounts-core" ]; then
+ # cd packages
+ # git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core
+ # sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' meteor-useraccounts-core/package.js
+ # cd ..
+ #fi
+ #if [ ! -d "packages/meteor-accounts-cas" ]; then
+ # cd packages
+ # git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git meteor-accounts-cas
+ # cd ..
+ #fi
+ #if [ ! -d "packages/wekan-ldap" ]; then
+ # cd packages
+ # 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
+ #if [ ! -d "packages/wekan_accounts-oidc" ]; then
+ # cd packages
+ # git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git
+ # mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan-accounts-oidc
+ # mv meteor-accounts-oidc/packages/switch_oidc wekan-oidc
+ # rm -rf meteor-accounts-oidc
+ # cd ..
+ #fi
+ #if [ ! -d "packages/markdown" ]; then
+ # cd packages
+ # git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git
+ # cd ..
+ #fi
rm -rf package-lock.json .build
meteor add standard-minifier-js --allow-superuser
meteor npm install --allow-superuser