summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-08-07 03:05:28 +0300
committerLauri Ojansivu <x@xet7.org>2019-08-07 03:05:28 +0300
commit1fc3a1db2e663f149287b6e14053d536fb1a8a81 (patch)
treee6c6d7d8dacf150a2e6a383e6f04223bb4d7d0a5 /snapcraft.yaml
parent972e7a9971430b202d30011d0052342d3423ef47 (diff)
downloadwekan-1fc3a1db2e663f149287b6e14053d536fb1a8a81.tar.gz
wekan-1fc3a1db2e663f149287b6e14053d536fb1a8a81.tar.bz2
wekan-1fc3a1db2e663f149287b6e14053d536fb1a8a81.zip
Try to make release sizes smaller by deleting phantomjs.
Thanks to xet7 !
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 7347800d..531a92ec 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -203,6 +203,9 @@ parts:
meteor npm install --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
+ cd .build
+ find . -name "*phantomjs*" | xargs rm -rf
+ cd ..
#Removed binary version of bcrypt because of security vulnerability that is not fixed yet.
#https://github.com/wekan/wekan/commit/4b2010213907c61b0e0482ab55abb06f6a668eac
#https://github.com/wekan/wekan/commit/7eeabf14be3c63fae2226e561ef8a0c1390c8d3c