diff options
Diffstat (limited to 'scripts/optimize_js.sh')
-rwxr-xr-x | scripts/optimize_js.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/optimize_js.sh b/scripts/optimize_js.sh new file mode 100755 index 000000000..f1bc1126e --- /dev/null +++ b/scripts/optimize_js.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +script_dir=$(dirname "$0") +js_dir="$script_dir/../data/js" +outfile="$js_dir/main.min.js" +node "$script_dir/r.js" -o mainConfigFile="$js_dir/main.js" name=main out=$outfile |