summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..11a6749
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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/movies-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/movies-files/js/libs/all.min.js
+