From 2bf69aed1552cfb140f3bf993ad47b4c777b9e90 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 21 Aug 2015 09:57:42 +0100 Subject: [PATCH] Added linting and modified copy --- build-js.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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