Skip to content

Commit

Permalink
Merge pull request traccar#671 from matjon/minify_sh_corrections
Browse files Browse the repository at this point in the history
minify.sh: use environment variable EXTJS_PATH
  • Loading branch information
tananaev authored Apr 28, 2018
2 parents 7e1ed7f + 1dd02a6 commit f1cc162
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/minify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit f1cc162

Please sign in to comment.