12 lines
No EOL
422 B
Bash
12 lines
No EOL
422 B
Bash
#!/usr/bin/bash
|
|
|
|
cp -r src/lib/* build/lib/
|
|
cp -r src/decoder.json build/
|
|
rm -rf build/injections/*
|
|
mkdir -p build/src/injections
|
|
|
|
uglifyjs build/injector.js --compress --screw-ie8 --define --keep-fnames -o build/injector.js
|
|
for f in src/injections/*; do uglifyjs "build/injector.js" "src/lib/jquery.js" $f --compress --screw-ie8 --define --stats --keep-fnames -o build/$f; done
|
|
|
|
cp -rp build/src/* build/
|
|
rm -rf build/src |