X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=Makefile;h=1182b5aa4fa28926a6a31ac2d4b69b808f46889e;hb=059bc225c8ff6920eb1d0cc3c721b1c4cde4180e;hp=a307c72bc27b84ffc1710846eab5f85e77c9bffd;hpb=95c6e8e68166281bd18aab32385ded0a1129464c;p=dygraphs.git diff --git a/Makefile b/Makefile index a307c72..1182b5a 100644 --- a/Makefile +++ b/Makefile @@ -4,12 +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 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: @@ -19,5 +29,14 @@ generate-gwt: 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