forked from filamentgroup/jQuery-Visualize
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
executable file
·21 lines (15 loc) · 955 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
all: clean basic minbasic full minfull
# Erase and recreate the distribution directory
clean:
rm -rf dist/
mkdir dist/
# Concatenate basic set plugins to main librarie
basic: js/jquery.TableData.js js/jquery.visualize.js js/plugins/jquery.visualize.bar.js js/plugins/jquery.visualize.pie.js js/plugins/jquery.visualize.line.js
cat $^ > dist/jquery.visualize.basic.js
minbasic: dist/jquery.visualize.basic.js
uglifyjs $^ > dist/jquery.visualize.basic.min.js
# Concatenate all released plugins to main librarie
full: js/jquery.TableData.js js/jquery.visualize.js js/plugins/jquery.visualize.bar.js js/plugins/jquery.visualize.pie.js js/plugins/jquery.visualize.line.js js/plugins/jquery.visualize.stack.js js/plugins/jquery.visualize.hbar.js js/plugins/jquery.visualize.hstack.js js/plugins/jquery.visualize.radar.js
cat $^ > dist/jquery.visualize.pack.js
minfull: dist/jquery.visualize.pack.js
uglifyjs $^ > dist/jquery.visualize.pack.min.js