Log warnings when using non-existent options
[dygraphs.git] / Makefile
index e07bc1d..6829ebf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,7 @@ generate-gwt:
 
 test:
        @./test.sh
+       @./check-combined-unaffected.sh
 
 test-combined: move-combined test clean-combined-test
 
@@ -37,6 +38,12 @@ move-combined: generate-combined
 clean-combined-test: clean
        @echo restoring combined
        git checkout dygraph-dev.js
+       rm dygraph-combined.js.map
 
 lint:
        @./lint.sh
+
+publish:
+       ./generate-combined.sh
+       npm publish
+       git checkout dygraph-combined.js