summaryrefslogtreecommitdiffstats
path: root/scripts/optimize_js.sh
blob: 95f31e358b67786c37a04fb535b2484a0cdebd5b (plain)
1
2
3
4
5
6
7
#!/bin/bash

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