aboutsummaryrefslogtreecommitdiff
path: root/tools/minify.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/minify.bat')
-rw-r--r--tools/minify.bat5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/minify.bat b/tools/minify.bat
new file mode 100644
index 00000000..6ab8fd94
--- /dev/null
+++ b/tools/minify.bat
@@ -0,0 +1,5 @@
+@echo off
+cd C:\[traccar path]\traccar\web
+set SDK=C:\[sencha path]\ext-6.0.0
+
+sencha -sdk %SDK% 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