mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 08:38:49 +01:00
fixing snap build errors due to some rm statements and allowing mixed attachment mode to work in snap
This commit is contained in:
parent
16dbbfa98c
commit
4857bce5d9
1 changed files with 6 additions and 4 deletions
|
|
@ -201,6 +201,7 @@ parts:
|
||||||
rm -rf package-lock.json .build
|
rm -rf package-lock.json .build
|
||||||
meteor add standard-minifier-js --allow-superuser
|
meteor add standard-minifier-js --allow-superuser
|
||||||
meteor npm install --allow-superuser
|
meteor npm install --allow-superuser
|
||||||
|
meteor npm install --allow-superuser --save babel-runtime
|
||||||
meteor build .build --directory --allow-superuser
|
meteor build .build --directory --allow-superuser
|
||||||
cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js
|
cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js
|
||||||
#Removed binary version of bcrypt because of security vulnerability that is not fixed yet.
|
#Removed binary version of bcrypt because of security vulnerability that is not fixed yet.
|
||||||
|
|
@ -214,15 +215,16 @@ parts:
|
||||||
# Change to directory .build/bundle/programs/server
|
# Change to directory .build/bundle/programs/server
|
||||||
cd .build/bundle/programs/server
|
cd .build/bundle/programs/server
|
||||||
npm install
|
npm install
|
||||||
|
npm install --allow-superuser --save babel-runtime
|
||||||
#meteor npm install --save bcrypt
|
#meteor npm install --save bcrypt
|
||||||
# Change back to Wekan source directory
|
# Change back to Wekan source directory
|
||||||
cd ../../../..
|
cd ../../../..
|
||||||
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
|
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
|
||||||
cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
|
cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
|
||||||
rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
|
rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
|
||||||
rm $SNAPCRAFT_PART_INSTALL/programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
|
rm -f $SNAPCRAFT_PART_INSTALL/programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
|
||||||
rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-pre-gyp/node_modules/tar/lib/.mkdir.js.swp
|
rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-pre-gyp/node_modules/tar/lib/.mkdir.js.swp
|
||||||
rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-gyp/node_modules/tar/lib/.mkdir.js.swp
|
rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-gyp/node_modules/tar/lib/.mkdir.js.swp
|
||||||
organize:
|
organize:
|
||||||
README: README.wekan
|
README: README.wekan
|
||||||
prime:
|
prime:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue