Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 96 lines (78 sloc) 2.479 kB
8270417 @dchester look for node_modules under npm prefix; re-order js files list
dchester authored
1 NODE_PREFIX=$(shell npm prefix)
2 NODE_MODULES=$(NODE_PREFIX)/node_modules
3
91deb7f @silas Don't remove node_modules on make clean
silas authored
4 CSS_MIN=$(NODE_MODULES)/.bin/cleancss
5 JS_MIN=$(NODE_MODULES)/.bin/uglifyjs
a400784 @dchester update Makefile to run jshint on build
dchester authored
6 JS_HINT=$(NODE_MODULES)/.bin/jshint
e6d4bbb @illusori Add "make test" target to install prereqs for "npm test" to work.
illusori authored
7 D3=$(NODE_MODULES)/d3
8 JSDOM=$(NODE_MODULES)/jsdom
9 NODEUNIT=$(NODE_MODULES)/nodeunit
8c69bad @silas Initial commit
silas authored
10
11 CSS_FILES=\
12 src/css/detail.css\
13 src/css/graph.css\
14 src/css/legend.css\
15
16 JS_FILES=\
61f1709 @fjorgemota Add start and end scripts to allow use of UMD by Rickshaw
fjorgemota authored
17 src/helpers/startUMD.js\
053fa4e @dchester second round import
dchester authored
18 src/js/Rickshaw.js\
7230764 @dchester refactor Rickshaw.Series to use PTClass framework
dchester authored
19 src/js/Rickshaw.Class.js\
4bb1985 @dchester add classList shim for IE9 support
dchester authored
20 src/js/Rickshaw.Compat.ClassList.js\
8270417 @dchester look for node_modules under npm prefix; re-order js files list
dchester authored
21 src/js/Rickshaw.Graph.js\
8c69bad @silas Initial commit
silas authored
22 src/js/Rickshaw.Fixtures.Color.js\
23 src/js/Rickshaw.Fixtures.RandomData.js\
24 src/js/Rickshaw.Fixtures.Time.js\
4a244a5 @dchester change name from LocalTime to Time.Local
dchester authored
25 src/js/Rickshaw.Fixtures.Time.Local.js\
053fa4e @dchester second round import
dchester authored
26 src/js/Rickshaw.Fixtures.Number.js\
8270417 @dchester look for node_modules under npm prefix; re-order js files list
dchester authored
27 src/js/Rickshaw.Color.Palette.js\
8c69bad @silas Initial commit
silas authored
28 src/js/Rickshaw.Graph.Ajax.js\
29 src/js/Rickshaw.Graph.Annotate.js\
30 src/js/Rickshaw.Graph.Axis.Time.js\
30fa2c2 @dchester add x-axis agnostic of time
dchester authored
31 src/js/Rickshaw.Graph.Axis.X.js\
053fa4e @dchester second round import
dchester authored
32 src/js/Rickshaw.Graph.Axis.Y.js\
2a414c6 @dchester rename Rickshaw.Graph.Axis.Scaled to Rickshaw.Graph.Axis.Y.Scaled
dchester authored
33 src/js/Rickshaw.Graph.Axis.Y.Scaled.js\
8c69bad @silas Initial commit
silas authored
34 src/js/Rickshaw.Graph.Behavior.Series.Highlight.js\
35 src/js/Rickshaw.Graph.Behavior.Series.Order.js\
36 src/js/Rickshaw.Graph.Behavior.Series.Toggle.js\
37 src/js/Rickshaw.Graph.HoverDetail.js\
38 src/js/Rickshaw.Graph.JSONP.js\
39 src/js/Rickshaw.Graph.Legend.js\
40 src/js/Rickshaw.Graph.RangeSlider.js\
6ddfd18 @dchester refactor Minimap and rename to Rickshaw.Graph.RangeSlider.Preview; cl…
dchester authored
41 src/js/Rickshaw.Graph.RangeSlider.Preview.js\
b69c8d1 @dchester refactor various renderers so they subclass a base class renerer
dchester authored
42 src/js/Rickshaw.Graph.Renderer.js\
8c69bad @silas Initial commit
silas authored
43 src/js/Rickshaw.Graph.Renderer.Line.js\
44 src/js/Rickshaw.Graph.Renderer.Stack.js\
053fa4e @dchester second round import
dchester authored
45 src/js/Rickshaw.Graph.Renderer.Bar.js\
1cceb56 @dchester update Makefile and built libs
dchester authored
46 src/js/Rickshaw.Graph.Renderer.Area.js\
47 src/js/Rickshaw.Graph.Renderer.ScatterPlot.js\
99d97f5 @dchester add multi renderer to combine different renderers on one graph
dchester authored
48 src/js/Rickshaw.Graph.Renderer.Multi.js\
9996172 @dchester add lineplot renderer
dchester authored
49 src/js/Rickshaw.Graph.Renderer.LinePlot.js\
8c69bad @silas Initial commit
silas authored
50 src/js/Rickshaw.Graph.Smoother.js\
f91fce2 @aw Initial support for Rickshaw + socket.io
aw authored
51 src/js/Rickshaw.Graph.Socketio.js\
8c69bad @silas Initial commit
silas authored
52 src/js/Rickshaw.Series.js\
ba49f8f @dchester add fixed duration series to Makefile
dchester authored
53 src/js/Rickshaw.Series.FixedDuration.js\
61f1709 @fjorgemota Add start and end scripts to allow use of UMD by Rickshaw
fjorgemota authored
54 src/helpers/endUMD.js\
8c69bad @silas Initial commit
silas authored
55
09a5bcf @silas Make clean phony
silas authored
56 .PHONY: clean build
8c69bad @silas Initial commit
silas authored
57
58 build: rickshaw.min.css rickshaw.min.js
59
60 clean:
91deb7f @silas Don't remove node_modules on make clean
silas authored
61 rm -rf rickshaw.css rickshaw.js rickshaw.min.*
8c69bad @silas Initial commit
silas authored
62
e6d4bbb @illusori Add "make test" target to install prereqs for "npm test" to work.
illusori authored
63 test: $(D3) $(JSDOM) $(NODEUNIT)
64 npm test
65
a400784 @dchester update Makefile to run jshint on build
dchester authored
66 $(JS_HINT):
67 npm install jshint
68
8c69bad @silas Initial commit
silas authored
69 $(CSS_MIN):
70 npm install clean-css
71
72 $(JS_MIN):
73 npm install uglify-js
74
e6d4bbb @illusori Add "make test" target to install prereqs for "npm test" to work.
illusori authored
75 $(D3):
76 npm install d3
77
78 $(JSDOM):
79 npm install jsdom
80
81 $(NODEUNIT):
82 npm install nodeunit
83
a1b391f @alightgoesout Updated Makefile: rickshaw.js and rickshaw.css now depends respective…
alightgoesout authored
84 rickshaw.css: $(CSS_FILES)
8c69bad @silas Initial commit
silas authored
85 cat $(CSS_FILES) > rickshaw.css
86
a400784 @dchester update Makefile to run jshint on build
dchester authored
87 rickshaw.js: $(JS_FILES) $(JS_HINT)
88 $(JS_HINT) src/js
8c69bad @silas Initial commit
silas authored
89 cat $(JS_FILES) > rickshaw.js
90
91 rickshaw.min.css: $(CSS_MIN) rickshaw.css
92 $(CSS_MIN) rickshaw.css > rickshaw.min.css
93
94 rickshaw.min.js: $(JS_MIN) rickshaw.js
b69c8d1 @dchester refactor various renderers so they subclass a base class renerer
dchester authored
95 $(JS_MIN) --reserved-names "\$$super" rickshaw.js > rickshaw.min.js
Something went wrong with that request. Please try again.