blob: 1bbbcc68425c67b9a0f1816fd95460dbf3139d2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
CLOSURE=~/vcs/v86/closure-compiler/compiler.jar
all: debug release
debug:
java -jar $(CLOSURE) \
--compilation_level WHITESPACE_ONLY \
--formatting PRETTY_PRINT \
libs/jquery-1.11.2.js \
libs/handlebars-v2.0.0.js \
libs/ember-1.9.0.js \
libs/ember-data-1.0.0-beta.12.js \
> html/index-files/js/libs/all.js
release:
java -jar $(CLOSURE) \
--compilation_level SIMPLE_OPTIMIZATIONS \
libs/jquery-1.11.2.js \
libs/handlebars-v2.0.0.js \
libs/ember-1.9.0.js \
libs/ember-data-1.0.0-beta.12.js \
> html/index-files/js/libs/all.min.js
|