X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=Makefile;h=6829ebf955cc063c2ff69bcb8a45089fdb419a86;hb=c715be428d83d80c0a26fd60dc5bc36fb4c908d9;hp=b5e812d95b4a6a36fc7c470079a18daaef7e8076;hpb=471facdda65e14beca895402eb46ffca53c89b6d;p=dygraphs.git diff --git a/Makefile b/Makefile index b5e812d..6829ebf 100644 --- a/Makefile +++ b/Makefile @@ -4,15 +4,22 @@ # # Dean Wampler March 22, 2010 -all: test generate-combined +all: test generate-combined generate-documentation clean: + @echo cleaning... @cp .dygraph-combined-clean.js dygraph-combined.js + rm -f docs/options.html generate-combined: @echo Generating dygraph-combined.js @./generate-combined.sh +generate-documentation: + @echo Generating docs/options.html + @./generate-documentation.py > docs/options.html + @chmod a+r docs/options.html + gwt: generate-gwt generate-gwt: @@ -21,6 +28,22 @@ generate-gwt: test: @./test.sh + @./check-combined-unaffected.sh + +test-combined: move-combined test clean-combined-test + +move-combined: generate-combined + mv dygraph-combined.js dygraph-dev.js + +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