X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=Makefile;h=e07bc1da15433902a6f68e4edd097cbc3c7ad00c;hb=24f7710ba142479e082ac909f84283c0ad8261ce;hp=2614ea3c34e02751d7a7226c198d0b645e98cd51;hpb=14c9d5bb3d2a2d2fd3a329003e43ae58ba4c784a;p=dygraphs.git diff --git a/Makefile b/Makefile index 2614ea3..e07bc1d 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,39 @@ # # 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 + +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 + +lint: + @./lint.sh