only one @license in minified output
authorDan Vanderkam <danvdk@gmail.com>
Sun, 1 Sep 2013 13:37:11 +0000 (09:37 -0400)
committerDan Vanderkam <danvdk@gmail.com>
Sun, 1 Sep 2013 13:37:11 +0000 (09:37 -0400)
generate-combined.sh

index f1d146d..54cfd9e 100755 (executable)
@@ -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