summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-05-05 16:41:41 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-05 16:51:47 +0200
commita8251204b686a603fe4e658e59008113e0e8f4e7 (patch)
tree2c7af94925fddcbb9a2c3d19346e91b86edddcdf
parentc897aa84567ba046644a87e23b32f3df4c5845d3 (diff)
Clean up old main.min.*.js files
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xscripts/optimize_js.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/optimize_js.sh b/scripts/optimize_js.sh
index f1bc1126e..95f31e358 100755
--- a/scripts/optimize_js.sh
+++ b/scripts/optimize_js.sh
@@ -3,4 +3,5 @@
script_dir=$(dirname "$0")
js_dir="$script_dir/../data/js"
outfile="$js_dir/main.min.js"
+rm -f "$js_dir"/main.min.*.js
node "$script_dir/r.js" -o mainConfigFile="$js_dir/main.js" name=main out=$outfile