Skip to content

Commit

Permalink
adding zip file creation
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Mar 4, 2014
1 parent 676ef8f commit b94d862
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions emscripten/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,13 @@ if [ $? -eq 0 ]; then
echo "Done."
# the wrapper is necessary with closure 1 for avoiding to conflict with globals
cat verovio-wrapper-start.js build/verovio.js verovio-wrapper-end.js verovio-proxy.js > "build/$FILENAME"
# all good
echo "build/$FILENAME written"
# create also a zip file if version name is given
if [ -n "$VERSION_NAME" ]; then
cd "build"
zip "$FILENAME.zip" "$FILENAME"
cd ..
echo "build/$FILENAME.zip written"
fi
fi

0 comments on commit b94d862

Please sign in to comment.