aboutsummaryrefslogtreecommitdiff
path: root/tools/minify.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/minify.sh')
-rwxr-xr-xtools/minify.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/minify.sh b/tools/minify.sh
index 24abde32..0579d8ca 100755
--- a/tools/minify.sh
+++ b/tools/minify.sh
@@ -2,9 +2,10 @@
cd $(dirname $0)/../web
-SDK="../../../ext-6.2.0"
+# Use the value of $EXTJS_PATH if it is defined, '../../../ext-6.2.0' otherwise
+EXT=${EXTJS_PATH:-'../../../ext-6.2.0'}
-sencha compile --classpath=app.js,app,$SDK/packages/core/src,$SDK/packages/core/overrides,$SDK/classic/classic/src,$SDK/classic/classic/overrides \
+sencha compile --classpath=app.js,app,$EXT/packages/core/src,$EXT/packages/core/overrides,$EXT/classic/classic/src,$EXT/classic/classic/overrides \
exclude -all \
and \
include -recursive -file app.js \