Merge pull request #310 from hulkholden/license
[dygraphs.git] / Makefile
index 1182b5a..18522df 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ all: test generate-combined generate-documentation
 clean:
        @echo cleaning...
        @cp .dygraph-combined-clean.js dygraph-combined.js
-       rm docs/options.html
+       rm -f docs/options.html
 
 generate-combined:
        @echo Generating dygraph-combined.js
@@ -40,3 +40,8 @@ clean-combined-test: clean
 
 lint:
        @./lint.sh
+
+publish:
+       ./generate-combined.sh
+       npm publish
+       git checkout dygraph-combined.js