3 # Download the latest .jar from
4 # https://mvnrepository.com/artifact/com.google.javascript/closure-compiler/v20231112
5 # (adjust the URL for the version you want) before running this script.
9 java -jar closure-compiler-v20231112.jar \
10 --compilation_level SIMPLE \
11 --js_output_file=www/js/remoteglot.min.js \
12 www/js/chessboard-0.3.0.js \
14 www/js/json_delta.js \
17 cat www/css/chessboard-0.3.0.css www/css/remoteglot.css | sass --scss -t compressed > www/css/remoteglot.min.css
18 perl replace.pl < www/index.dev.html > www/index.html