forked from HumbleSoftware/Flotr2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (33 loc) · 1.05 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
all: test flotr2
test:
cd spec; jasmine-headless-webkit -j jasmine.yml -c
libraries:
smoosh make/lib.json
cat ./build/bean.js > build/lib.js
cat ./build/underscore.js >> build/lib.js
cat ./build/bean.min.js > build/lib.min.js
echo ";" >> build/lib.min.js
cat ./build/underscore.min.js >> build/lib.min.js
echo ";" >> build/lib.min.js
ie:
smoosh make/ie.json
flotr2: libraries ie
smoosh make/flotr2.json
cat build/lib.js build/flotr2.js > flotr2.js
cat build/lib.min.js > flotr2.min.js
cat build/flotr2.min.js >> flotr2.min.js
echo ';' >> flotr2.min.js
cp build/ie.min.js flotr2.ie.min.js
cat build/flotr2.js > flotr2.nolibs.js
flotr2-basic: libraries ie
smoosh make/basic.json
cat build/lib.min.js > flotr2-basic.min.js
cat build/flotr2-basic.min.js >> flotr2-basic.min.js
flotr-examples:
smoosh make/examples.json
cp build/examples.min.js flotr2.examples.min.js
cp build/examples-types.js flotr2.examples.types.js
flotr-amd: flotr2
cat js/amd/pre.js > flotr2.amd.js
cat build/flotr2.js >> flotr2.amd.js
cat js/amd/post.js >> flotr2.amd.js