Merge branch 'buildvendor'

This commit is contained in:
Saivann 2015-07-04 17:33:20 -04:00
commit 63361be1c1
No known key found for this signature in database
GPG key ID: 5780F5D31B5577B0
2 changed files with 7 additions and 0 deletions

View file

@ -45,7 +45,11 @@ install-deps-development:
## Install dependencies (deployment version) ## Install dependencies (deployment version)
install-deps-deployment: install-deps-deployment:
ifdef BUNDLE_DIR
bundle install --deployment --without :slow_test --path=$(BUNDLE_DIR)
else
bundle install --deployment --without :slow_test bundle install --deployment --without :slow_test
endif
## Pre-build tests which, aggregated together, take less than 10 seconds to run on a typical PC ## Pre-build tests which, aggregated together, take less than 10 seconds to run on a typical PC
pre-build-tests-fast: check-for-non-ascii-urls check-for-wrong-filename-assignments \ pre-build-tests-fast: check-for-non-ascii-urls check-for-wrong-filename-assignments \

View file

@ -9,10 +9,13 @@ source /etc/profile.d/rvm.sh
AUTHORIZED_SIGNERS_DIR='/bitcoin.org/auto-build-committers.gnupg' AUTHORIZED_SIGNERS_DIR='/bitcoin.org/auto-build-committers.gnupg'
REPO='https://github.com/bitcoin-dot-org/bitcoin.org.git' REPO='https://github.com/bitcoin-dot-org/bitcoin.org.git'
BUNDLE_DIR='/bitcoin.org/bundle'
SITEDIR='/bitcoin.org/site' SITEDIR='/bitcoin.org/site'
DESTDIR='build@bitcoinorgsite:/var/www/site' DESTDIR='build@bitcoinorgsite:/var/www/site'
WORKDIR=`mktemp -d` WORKDIR=`mktemp -d`
export BUNDLE_DIR
# Stop script in case a single command fails # Stop script in case a single command fails
set -e set -e