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/build-js.sh

12 lines
437 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/image-decoder.js --compress --screw-ie8 --define --keep-fnames -o build/image-decoder.js
for f in src/injections/*; do uglifyjs "build/image-decoder.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-08-20 14:25:30 +01:00
rm -rf build/src