1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
hipchat-emoticons-for-all/scripts/build-js.sh

13 lines
435 B
Bash
Raw Normal View History

2015-08-20 22:38:11 +01:00
#!/usr/bin/bash
cp -r src/lib/* build/lib/
cp -r src/decoder.json build/
rm -rf build/injections/*
mkdir -p build/src/injections
2015-08-24 21:42:23 +01:00
uglifyjs "build/global.js" --compress --screw-ie8 --define --keep-fnames -o build/global.js
for f in src/injections/*; do uglifyjs "build/global.js" "src/lib/jquery.js" $f --compress --screw-ie8 --define --stats --keep-fnames -o build/$f; done
2015-08-24 21:42:23 +01:00
2015-08-21 09:57:42 +01:00
cp -rp build/src/* build/
2015-10-05 16:18:41 +01:00
rm -rf build/src
rm -rf build/lib