Last active
December 18, 2015 23:08
-
-
Save sanemat/5859031 to your computer and use it in GitHub Desktop.
build script for tachikoma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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