From 3fcdf2d0e1b997222aa298925c68f158195fe4d0 Mon Sep 17 00:00:00 2001 From: Mateusz Jończyk Date: Sat, 28 Apr 2018 19:39:42 +0200 Subject: minify.sh: rename $SDK -> $EXT ext-6.2.0 is just a library, not an SDK. If we would like to consider an SDK made by Sencha, it would include Sencha CMD, among other things. --- tools/minify.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/minify.sh b/tools/minify.sh index 24abde3..1ef7537 100755 --- a/tools/minify.sh +++ b/tools/minify.sh @@ -2,9 +2,9 @@ cd $(dirname $0)/../web -SDK="../../../ext-6.2.0" +EXT="../../../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 \ -- cgit v1.2.3 From 1dd02a6d4d0c58d660bc40b5b70173bb2e66a4dc Mon Sep 17 00:00:00 2001 From: Mateusz Jończyk Date: Sat, 28 Apr 2018 19:43:21 +0200 Subject: minify.sh: use environment variable EXTJS_PATH Allow setting location of ext-6.2.0 directory by an environment variable. People can have ext-6.2.0 in various locations. --- tools/minify.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/minify.sh b/tools/minify.sh index 1ef7537..0579d8c 100755 --- a/tools/minify.sh +++ b/tools/minify.sh @@ -2,7 +2,8 @@ cd $(dirname $0)/../web -EXT="../../../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,$EXT/packages/core/src,$EXT/packages/core/overrides,$EXT/classic/classic/src,$EXT/classic/classic/overrides \ exclude -all \ -- cgit v1.2.3