diff --git a/build-js.sh b/build-js.sh index a1a4c4c..919442b 100644 --- a/build-js.sh +++ b/build-js.sh @@ -3,6 +3,6 @@ cp -r src/* build/ rm -rf build/injections/* mkdir -p build/src/injections -for f in src/injections/*; do uglifyjs $f --compress --mangle -o build/$f; done -cp build/src/injections/* build/injections/ +for f in src/injections/*; do uglifyjs $f --compress --mangle --lint -o build/$f; done +cp -rp build/src/* build/ rm -rf build/src \ No newline at end of file