aboutsummaryrefslogtreecommitdiff
path: root/tools/minify.sh
blob: 0579d8ca11f4ac375590db5c9af3ac3c44d71937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

cd $(dirname $0)/../web

# 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 \
       and \
       include -recursive -file app.js \
       and \
       exclude -namespace=Ext \
       and \
       concatenate -closure app.min.js