X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=Makefile;h=6829ebf955cc063c2ff69bcb8a45089fdb419a86;hb=c715be428d83d80c0a26fd60dc5bc36fb4c908d9;hp=1182b5aa4fa28926a6a31ac2d4b69b808f46889e;hpb=406714e12102ee6714774e2801622577ca0daa16;p=dygraphs.git diff --git a/Makefile b/Makefile index 1182b5a..6829ebf 100644 --- 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 @@ -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