tom@948: #!/bin/bash -e tom@948: tom@948: CUR_DIR=`pwd` tom@948: SCRIPT_DIR=`dirname $0` tom@948: tom@948: cd $SCRIPT_DIR tom@948: wget https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip tom@948: unzip ext-4.2.1-gpl.zip tom@948: ln -s ext-4.2.1.883 extjs tom@948: tom@948: mkdir -p resources/lib/ext tom@948: cd resources/lib tom@948: tom@948: wget https://github.com/eligrey/FileSaver.js/archive/master.zip \ tom@948: -O FileSaver-js.zip tom@948: unzip FileSaver-js.zip tom@948: ln -s FileSaver.js-master FileSaver tom@948: tom@948: wget https://github.com/eligrey/Blob.js/archive/master.zip \ tom@948: -O Blob-js.zip tom@948: unzip Blob-js.zip tom@948: ln -s Blob.js-master Blob tom@948: tom@948: wget https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \ tom@948: -O OpenLayers-2-13-1.zip tom@948: unzip OpenLayers-2-13-1.zip tom@948: ln -s openlayers-release-2.13.1/build OpenLayers tom@948: cd OpenLayers tom@948: python build.py tom@948: tom@948: cd ../ext tom@948: wget https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \ tom@948: -O Ext-i18n-Bundle-v0-3-3.zip tom@948: unzip Ext-i18n-Bundle-v0-3-3.zip tom@948: ln -s Ext.i18n.Bundle-0.3.3/i18n i18n tom@948: tom@948: wget https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \ tom@948: -O Ext-ux-Upload-1-1-1.zip tom@948: unzip Ext-ux-Upload-1-1-1.zip tom@948: ln -s extjs-upload-widget-1.1.1/lib/upload upload tom@948: tom@948: cd $CUR_DIR