X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=Makefile;h=2047c7fa1c0112044788c417ecc3beb7dd77b30a;hb=e8c635cc4e3c265e88f66b46b689e291531330b6;hp=b5e812d95b4a6a36fc7c470079a18daaef7e8076;hpb=c70fe730d3e8a4ff32f9371d95a7894441f2f671;p=dygraphs.git diff --git a/Makefile b/Makefile index b5e812d..2047c7f 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,21 @@ 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 lint: @./lint.sh + +publish: + ./generate-combined.sh + npm publish + git checkout dygraph-combined.js