X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=build.sh;fp=build.sh;h=75141e4e10d0b096aba4c0e5994fdc96ba9693a7;hp=c970b1330c1c1c360b670ed31c9908b6fdf6a85e;hb=8189ee4740066938b9f640bf0847aa707bcbfc96;hpb=5a1f6c832883367ca4925443c63ed2aefb6514fd diff --git a/build.sh b/build.sh index c970b13..75141e4 100755 --- a/build.sh +++ b/build.sh @@ -1,12 +1,12 @@ #! /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 \