From: Dan Vanderkam Date: Sun, 1 Sep 2013 13:37:11 +0000 (-0400) Subject: only one @license in minified output X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=cdfa2395c46294046c7720c38fffa45eb08577ee;p=dygraphs.git only one @license in minified output --- diff --git a/generate-combined.sh b/generate-combined.sh index f1d146d..54cfd9e 100755 --- a/generate-combined.sh +++ b/generate-combined.sh @@ -45,7 +45,7 @@ Copyright () { CatMinified () { Copyright - CatSources \ + (CatSources | grep -v '@license') \ | java -jar ../../closure-compiler-read-only/build/compiler.jar --js ../../closure-library-read-only/closure/goog/base.js --js - --js dygraph-exports.js --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE --externs dygraph-externs.js --externs gviz-api.js --output_wrapper='(function() {%output%})();' # Add this for debugging: # --formatting PRETTY_PRINT