aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-01 21:29:01 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-01 21:29:01 +1200
commit18fcdb06a079b0a482cb91adae87d8ae3239c45c (patch)
tree1f6280e7d18adfa0dee943b1ebd960ea96ab039e /tools
parentf3cd8b8a9ad5c866768f6f5c7e1f53697e54c3f0 (diff)
downloadtrackermap-server-18fcdb06a079b0a482cb91adae87d8ae3239c45c.tar.gz
trackermap-server-18fcdb06a079b0a482cb91adae87d8ae3239c45c.tar.bz2
trackermap-server-18fcdb06a079b0a482cb91adae87d8ae3239c45c.zip
Create ExtJS compilation script
Diffstat (limited to 'tools')
-rwxr-xr-xtools/minify.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/minify.sh b/tools/minify.sh
new file mode 100755
index 000000000..9bed12efe
--- /dev/null
+++ b/tools/minify.sh
@@ -0,0 +1,12 @@
+SDK="/home/user/Documents/ext-6.0.0"
+
+cd $(dirname $0)/../web
+
+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