Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / build / build-bootstrap.sh
1 CURRENT_DIR="$(dirname $0)"
2 cd ${CURRENT_DIR}
3
4 JSBUILDER_PATH="../jsbuilder/JSBuilder.sh"
5
6 # Build Ext.Loader paths to platform for dynamic loading
7 UNAME="$(uname)"
8 ARGUMENTS=$*
9 JSBUILDER_DIRNAME="$(dirname $JSBUILDER_PATH)"
10 if [ $UNAME = "Darwin" ] ; then
11     OS="mac"
12 elif [ ${UNAME%%_*} = "CYGWIN" ] ; then
13     OS="win"
14 elif [ ${UNAME%%32*} = "MINGW" ] ; then
15     OS="win"
16 elif [ ${UNAME%%64*} = "MINGW" ] ; then
17     OS="win"
18 else
19     OS="linux"
20 fi
21 JSDB_PATH="${JSBUILDER_DIRNAME}/jsdb/${OS}"
22 BUILD_BOOTSTRAP_DATA_CMD="${JSDB_PATH}/jsdb build-bootstrap-data.js ../bootstrap ${OS}"
23
24 ${BUILD_BOOTSTRAP_DATA_CMD}