summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2015-03-28 18:21:56 +0100
committerYves Fischer <yvesf-git@xapek.org>2015-03-28 18:21:56 +0100
commit76f2e9ffd369e1b2f131c85fa05540c62936ac21 (patch)
treeb2980f38ecedc94ebdb7fc52e3a2966281616d58 /Makefile
downloadmovietool-76f2e9ffd369e1b2f131c85fa05540c62936ac21.tar.gz
movietool-76f2e9ffd369e1b2f131c85fa05540c62936ac21.zip
re-structure project
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
+