Remove old-style series specifications.
[dygraphs.git] / Makefile
CommitLineData
46fd9089 1# You should run "npm install" before running any commands in this Makefile.
18764f27 2
05cd8125 3all: test generate-combined generate-documentation
c0db98ca
RK
4
5clean:
05cd8125 6 @echo cleaning...
c0db98ca 7 @cp .dygraph-combined-clean.js dygraph-combined.js
c97b87c2 8 rm -f docs/options.html
18764f27
DW
9
10generate-combined:
11 @echo Generating dygraph-combined.js
71ac4733
AV
12 @./generate-combined.sh
13
05cd8125
RK
14generate-documentation:
15 @echo Generating docs/options.html
16 @./generate-documentation.py > docs/options.html
17 @chmod a+r docs/options.html
18
71ac4733
AV
19gwt: generate-gwt
20
21generate-gwt:
22 @echo Generating GWT JAR file
23 @./generate-jar.sh
86a3e64f
DV
24
25test:
26 @./test.sh
cd6172e1 27 @./check-combined-unaffected.sh
c0db98ca 28
8ae63530
RK
29test-combined: move-combined test clean-combined-test
30
31move-combined: generate-combined
32 mv dygraph-combined.js dygraph-dev.js
33
34clean-combined-test: clean
35 @echo restoring combined
36 git checkout dygraph-dev.js
8887663f 37 rm dygraph-combined.js.map
8ae63530 38
c0db98ca 39lint:
46fd9089
DV
40 @./generate-combined.sh ls \
41 | grep -v 'polyfills' \
42 | xargs ./node_modules/.bin/jshint
43
44# Commands to run for continuous integration on Travis-CI
45travis: test test-combined lint
8bc2eb3a
DV
46
47publish:
95a08f2a
DV
48 ./generate-combined.sh
49 npm publish
50 git checkout dygraph-combined.js