#! /bin/sh
-# Download http://dl.google.com/closure-compiler/compiler-latest.zip
-# and unzip it in closure/ before running this script.
+# Download the latest .jar from
+# https://mvnrepository.com/artifact/com.google.javascript/closure-compiler/v20231112
+# (adjust the URL for the version you want) before running this script.
umask 022
-java -jar closure-compiler-v20221004.jar \
- --language_in ECMASCRIPT_2018 \
+java -jar closure-compiler-v20231112.jar \
--compilation_level SIMPLE \
--js_output_file=www/js/remoteglot.min.js \
www/js/chessboard-0.3.0.js \