diff options
author | ben | 2018-09-18 10:28:07 +0200 |
---|---|---|
committer | ben | 2018-09-18 10:28:07 +0200 |
commit | ef8cdd36436ef1bd1303886a101c8ee60c6f9721 (patch) | |
tree | 39077d0d9b070cc018738dbd3d246214e4749322 /compile.sh | |
download | honeyjs-ef8cdd36436ef1bd1303886a101c8ee60c6f9721.tar.gz honeyjs-ef8cdd36436ef1bd1303886a101c8ee60c6f9721.tar.bz2 honeyjs-ef8cdd36436ef1bd1303886a101c8ee60c6f9721.tar.xz |
Diffstat (limited to 'compile.sh')
-rwxr-xr-x | compile.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh new file mode 100755 index 0000000..add48d2 --- /dev/null +++ b/compile.sh @@ -0,0 +1,16 @@ +#!/bin/bash +rm -rf dist +mkdir -p dist/static +cp index.html dist/ +cp 403.html dist/ +cp -r shell dist/ +cp -r python dist/ +cp -r rescue dist/ +cp -r rest-api dist/ +cp static/*.css dist/static/ +cp static/*.bin dist/static/ +cp static/*.img dist/static/ +cp static/*.png dist/static/ +cp static/*min*.js dist/static/ +cd static +find ./ -name '*.js' ! -name '*.min.*' -exec garble $PWD/{} $PWD/../dist/static/{} on \; |