Merge pull request #240 from timeu/bugfix_upstream
[dygraphs.git] / Makefile
CommitLineData
18764f27
DW
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
05cd8125 7all: test generate-combined generate-documentation
c0db98ca
RK
8
9clean:
05cd8125 10 @echo cleaning...
c0db98ca 11 @cp .dygraph-combined-clean.js dygraph-combined.js
c97b87c2 12 rm -f docs/options.html
18764f27
DW
13
14generate-combined:
15 @echo Generating dygraph-combined.js
71ac4733
AV
16 @./generate-combined.sh
17
05cd8125
RK
18generate-documentation:
19 @echo Generating docs/options.html
20 @./generate-documentation.py > docs/options.html
21 @chmod a+r docs/options.html
22
71ac4733
AV
23gwt: generate-gwt
24
25generate-gwt:
26 @echo Generating GWT JAR file
27 @./generate-jar.sh
86a3e64f
DV
28
29test:
30 @./test.sh
c0db98ca 31
8ae63530
RK
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
c0db98ca
RK
41lint:
42 @./lint.sh