Sha256: e4b9f2f7aab161430fbdbf8215ea8e80d06415fb28f8642a841b154b71329342
Contents?: true
Size: 821 Bytes
Versions: 7
Compression:
Stored size: 821 Bytes
Contents
#!/bin/sh -ex OLD_PWD=$PWD WD=${MASTER_WD:-"/tmp/sproutcore_master_$$"} IP=${IP:-"127.0.0.1"} PORT=${PORT:-"4020"} echo "Running in $WD..." /bin/mkdir -p ${WD} || /bin/true cd ${WD} git clone https://github.com/sproutcore/abbot.git cat > Gemfile <<EOF source "http://rubygems.org" gem "sproutcore", :path => "./abbot/" EOF bundle install --binstubs ./bin/sc-init master cd master mkdir frameworks cd frameworks ln -s ${OLD_PWD} sproutcore cd .. if [ -z ${TRAVIS_JOB_ID} ]; then # not running under travis, stay in foreground until stopped ../bin/sc-server --host=${IP} --port=${PORT} --allow-from-ips=${ALLOW_IPS:-"*.*.*.*"} else # running under travis, daemonize ( ../bin/sc-server --host=${IP} --port=${PORT} --allow-from-ips=${ALLOW_IPS:-"*.*.*.*"} & ) || /bin/true fi cd ${OLD_PWD} #rm -rf ${WD}
Version data entries
7 entries across 7 versions & 1 rubygems