aboutsummaryrefslogtreecommitdiff
path: root/tools/minify.sh
diff options
context:
space:
mode:
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