Update the EB build process to package in scripts (#1434)

This is implemented specifically to handle the google analytics
script for hosted cellxgene
This commit is contained in:
bmccandless
2020-04-28 14:38:35 -07:00
committed by GitHub
parent e495c571c3
commit cd821a0344
2 changed files with 31 additions and 7 deletions
+3
View File
@@ -27,6 +27,9 @@ build: clean
mkdir -p artifact.dir/server/common/web/static/deploy; \
cp -r static/* artifact.dir/server/common/web/static/deploy; \
fi; \
if [ -d scripts ] ; then \
cp -r scripts/* artifact.dir/server/common/web/templates; \
fi; \
(cd artifact.dir; \
cp -r server/common/web/static static; \
zip -r ../artifact.zip . --exclude server/test/\* server/eb/\* ; ); \