#!/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

#!/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

Clean up old main.min.*.js files
Clean up old main.min.*.js files

Signed-off-by: Florian Pritz <753f544d2d01592750fb4bd29251b78abcfc8ecd@xinu.at>
