aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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