comparison build.sh @ 1395:f428b7d8f19b

SENCHAPATH now can be preset by using export SENCHAPATH=... before ./build.sh
author Marco Lechner, Bundesamt fuer Strahlenschutz, SW 2.1 <mlechner@bfs.de>
date Mon, 13 Mar 2017 12:39:14 +0100
parents 0b2d6db2be7e
children
comparison
equal deleted inserted replaced
1394:76ff6d084167 1395:f428b7d8f19b
1 1
2 SENCHAPATH=~/bin/Sencha/Cmd/4.0.5.87/sencha 2 #Fallback: SENCHAPATH=~/bin/Sencha/Cmd/4.0.5.87/sencha
3 if [ -z $SENCHAPATH ]; then SENCHAPATH="~/bin/Sencha/Cmd/4.0.5.87/"; fi
3 VNUMBER=$(grep Lada.clientVersion app.js | cut -d '=' -f 2 | cut -d "'" -f 2) 4 VNUMBER=$(grep Lada.clientVersion app.js | cut -d '=' -f 2 | cut -d "'" -f 2)
4 VERSION=lada-client-$VNUMBER 5 VERSION=lada-client-$VNUMBER
5 6
6 # Minify 7 # Minify
7 echo "Minifying...." 8 echo "Minifying...."
8 $SENCHAPATH --sdk-path extjs compile \ 9 $SENCHAPATH/sencha --sdk-path extjs compile \
9 --classpath=app,resources/lib/ext/upload,resources/lib/ext/i18n,resources/lib/ext/grid,resources/lib/ext/util page \ 10 --classpath=app,resources/lib/ext/upload,resources/lib/ext/i18n,resources/lib/ext/grid,resources/lib/ext/util page \
10 -yui -i index.html -o $VERSION/index.html 11 -yui -i index.html -o $VERSION/index.html
11 12
12 # Copy additional files 13 # Copy additional files
13 # Extjs Styles 14 # Extjs Styles

http://lada.wald.intevation.org