EXAMPLE: added new example for fixed bug
[dygraphs.git] / Makefile
... / ...
CommitLineData
1# Run the generate-combined.sh script.
2# This Makefile isn't really necessary, but it serves as a "indicator"
3# to new users that they need to do a "build" of sorts.
4#
5# Dean Wampler <dean@deanwampler.com> March 22, 2010
6
7all: test generate-combined generate-documentation
8
9clean:
10 @echo cleaning...
11 @cp .dygraph-combined-clean.js dygraph-combined.js
12 rm -f docs/options.html
13
14generate-combined:
15 @echo Generating dygraph-combined.js
16 @./generate-combined.sh
17
18generate-documentation:
19 @echo Generating docs/options.html
20 @./generate-documentation.py > docs/options.html
21 @chmod a+r docs/options.html
22
23gwt: generate-gwt
24
25generate-gwt:
26 @echo Generating GWT JAR file
27 @./generate-jar.sh
28
29test:
30 @./test.sh
31
32test-combined: move-combined test clean-combined-test
33
34move-combined: generate-combined
35 mv dygraph-combined.js dygraph-dev.js
36
37clean-combined-test: clean
38 @echo restoring combined
39 git checkout dygraph-dev.js
40
41lint:
42 @./lint.sh