From: Dan Vanderkam Date: Wed, 23 Oct 2013 18:11:06 +0000 (-0500) Subject: check that compile script runs X-Git-Tag: v1.1.0~75^2~3^2~1 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=bc5af8d6e46944007a4b49522d8d0fa701bbf471;p=dygraphs.git check that compile script runs --- diff --git a/compile-with-closure.sh b/compile-with-closure.sh index 50a93f2..a37c80f 100755 --- a/compile-with-closure.sh +++ b/compile-with-closure.sh @@ -6,7 +6,9 @@ # It outputs minified JS to a temp file. This should be ignored for now, until # it's fully functional. -java -jar ../../closure-compiler-read-only/build/compiler.jar \ +CLOSURE_COMPILER=../../closure-compiler-read-only/build/compiler.jar + +java -jar $CLOSURE_COMPILER \ --compilation_level ADVANCED_OPTIMIZATIONS \ --warning_level VERBOSE \ --output_wrapper='(function() {%output%})();' \