aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-04-29 09:28:18 +1200
committerGitHub <noreply@github.com>2018-04-29 09:28:18 +1200
commitf1cc162fcaeed2173b70637ef3f0e8b6ad8c8104 (patch)
tree1cc79bc173c5526abd92fb3c2edf30bfa65b25d2 /tools
parent7e1ed7fee9ec411df0d198d10dc1a7f8e0e6eaf9 (diff)
parent1dd02a6d4d0c58d660bc40b5b70173bb2e66a4dc (diff)
downloadtrackermap-web-f1cc162fcaeed2173b70637ef3f0e8b6ad8c8104.tar.gz
trackermap-web-f1cc162fcaeed2173b70637ef3f0e8b6ad8c8104.tar.bz2
trackermap-web-f1cc162fcaeed2173b70637ef3f0e8b6ad8c8104.zip
Merge pull request #671 from matjon/minify_sh_corrections
minify.sh: use environment variable EXTJS_PATH
Diffstat (limited to 'tools')
-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 \