summaryrefslogtreecommitdiffstats
path: root/scripts/optimize_js.sh
blob: 33f130b56bc7758cf358d92a10f84ee662e9b50a (plain)
1
2
3
4
5
6
#!/usr/bin/sh

script_dir=$(dirname "$0")
js_dir="$script_dir/../data/js"
outfile="$js_dir/main.min.$(date +%s).js"
node "$script_dir/r.js" -o mainConfigFile="$js_dir/main.js" name=main out=$outfile