# HG changeset patch # User Marco Lechner, Bundesamt fuer Strahlenschutz, SW 2.1 # Date 1489405154 -3600 # Node ID f428b7d8f19bc3559bd5117654410025975a4542 # Parent 76ff6d0841674969d42523ed91bc26dfb9c1bf67 SENCHAPATH now can be preset by using export SENCHAPATH=... before ./build.sh diff -r 76ff6d084167 -r f428b7d8f19b build.sh --- a/build.sh Thu Mar 09 15:37:19 2017 +0100 +++ b/build.sh Mon Mar 13 12:39:14 2017 +0100 @@ -1,11 +1,12 @@ -SENCHAPATH=~/bin/Sencha/Cmd/4.0.5.87/sencha +#Fallback: SENCHAPATH=~/bin/Sencha/Cmd/4.0.5.87/sencha +if [ -z $SENCHAPATH ]; then SENCHAPATH="~/bin/Sencha/Cmd/4.0.5.87/"; fi VNUMBER=$(grep Lada.clientVersion app.js | cut -d '=' -f 2 | cut -d "'" -f 2) VERSION=lada-client-$VNUMBER # Minify echo "Minifying...." -$SENCHAPATH --sdk-path extjs compile \ +$SENCHAPATH/sencha --sdk-path extjs compile \ --classpath=app,resources/lib/ext/upload,resources/lib/ext/i18n,resources/lib/ext/grid,resources/lib/ext/util page \ -yui -i index.html -o $VERSION/index.html