From c25559278b833d96b4753f549bb581514f923c45 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Sun, 1 Sep 2013 09:00:27 -0400 Subject: [PATCH] add closure compiler script; 23 warnings when building with generate-combined --- compile-with-closure.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 compile-with-closure.sh diff --git a/compile-with-closure.sh b/compile-with-closure.sh new file mode 100755 index 0000000..a98dcaa --- /dev/null +++ b/compile-with-closure.sh @@ -0,0 +1,29 @@ +#!/bin/bash +java -jar ../../closure-compiler-read-only/build/compiler.jar \ + --compilation_level ADVANCED_OPTIMIZATIONS \ + --warning_level VERBOSE \ + --output_wrapper='(function() {%output%})();' \ + --js ../../closure-library-read-only/closure/goog/base.js \ + --js=dashed-canvas.js \ + --js=dygraph-constants.js \ + --js=dygraph-options.js \ + --js=dygraph-layout.js \ + --js=dygraph-canvas.js \ + --js=dygraph.js \ + --js=dygraph-utils.js \ + --js=dygraph-gviz.js \ + --js=dygraph-interaction-model.js \ + --js=dygraph-tickers.js \ + --js=dygraph-plugin-base.js \ + --js=dygraph-options-reference.js \ + --js=datahandler/datahandler.js \ + --js=datahandler/default.js \ + --js=datahandler/default-fractions.js \ + --js=datahandler/bars.js \ + --js=datahandler/bars-custom.js \ + --js=datahandler/bars-error.js \ + --js=datahandler/bars-fractions.js \ + --js=dygraph-exports.js \ + --externs dygraph-externs.js \ + --externs gviz-api.js \ + --js_output_file=/tmp/out.js -- 2.7.4