X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=Makefile;h=e07bc1da15433902a6f68e4edd097cbc3c7ad00c;hb=794e4d006192940a44e2678cb570392017dc9361;hp=a307c72bc27b84ffc1710846eab5f85e77c9bffd;hpb=6ad8b6a444ae32d026264409698f496506b3d33b;p=dygraphs.git diff --git a/Makefile b/Makefile index a307c72..e07bc1d 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 -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: @@ -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