aboutsummaryrefslogtreecommitdiff
path: root/tools/minify.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-18 11:40:46 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-09-18 11:40:46 +1200
commit2608adeff46f1286deff11a5320cee5647f6d41b (patch)
treea16014c04c755ec701b3237b0cccc7d8cc406960 /tools/minify.sh
parentd5ca160059220a07c71c95cc85696e0d66bf9c6e (diff)
downloadtrackermap-web-2608adeff46f1286deff11a5320cee5647f6d41b.tar.gz
trackermap-web-2608adeff46f1286deff11a5320cee5647f6d41b.tar.bz2
trackermap-web-2608adeff46f1286deff11a5320cee5647f6d41b.zip
Move web interface from main repo
Diffstat (limited to 'tools/minify.sh')
-rwxr-xr-xtools/minify.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/minify.sh b/tools/minify.sh
new file mode 100755
index 00000000..4a5c47f9
--- /dev/null
+++ b/tools/minify.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+cd $(dirname $0)/../web
+
+SDK="../../ext-6.0.1"
+
+sencha compile --classpath=app.js,app,$SDK/packages/core/src,$SDK/packages/core/overrides,$SDK/classic/classic/src,$SDK/classic/classic/overrides \
+ exclude -all \
+ and \
+ include -recursive -file app.js \
+ and \
+ exclude -namespace=Ext \
+ and \
+ concatenate -closure app.min.js