X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=Makefile;h=6829ebf955cc063c2ff69bcb8a45089fdb419a86;hb=c715be428d83d80c0a26fd60dc5bc36fb4c908d9;hp=2614ea3c34e02751d7a7226c198d0b645e98cd51;hpb=71ac4733fec0ca3adab2ae5440db13e1cd2231f1;p=dygraphs.git diff --git a/Makefile b/Makefile index 2614ea3..6829ebf 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,46 @@ # # Dean Wampler March 22, 2010 -all: 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: @echo Generating GWT JAR file @./generate-jar.sh + +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