Skip to content

Instantly share code, notes, and snippets.

@sanemat
Last active December 18, 2015 23:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanemat/5859031 to your computer and use it in GitHub Desktop.
Save sanemat/5859031 to your computer and use it in GitHub Desktop.
build script for tachikoma
export QMAKE=/usr/bin/qmake-qt4
export POSTGRESQL_VERSION=9.2.4
export NODE_VERSION=0.10.4
export EXECJS_RUNTIME=Node
######### POSTGRES INSTAL(first time) AND LAUNCH #########
curl -s -o use-postgresql https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/postgresql/use-postgresql
source ./use-postgresql
# http://wiki.cloudbees.com/bin/view/DEV/Node+Builds
curl -s -o use-node https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/node/use-node
. ./use-node
npm install less
######## Important Below #########
gem install bundler
sed -i -e "s/^ruby '2.0.0'/#ruby '2.0.0'/" Gemfile
bundle
BUILD_FOR=gist-mail bundle exec rake tachikoma:run_bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment