Add tests that break currently, but will pass when http://code.google.com/p/dygraphs...
[dygraphs.git] / Makefile
index b71596c..007468e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,30 @@
 #
 # Dean Wampler <dean@deanwampler.com> March 22, 2010
 
-all: 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-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
+
+lint:
+       @./lint.sh