mirror of
https://github.com/seigler/dash-docs
synced 2025-07-26 17:26:12 +00:00
Use BUNDLE_DIR to define bundler's directory
This commit is contained in:
parent
15c0c2626e
commit
4e409097da
2 changed files with 8 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -45,7 +45,11 @@ install-deps-development:
|
|||
|
||||
## Install dependencies (deployment version)
|
||||
install-deps-deployment:
|
||||
ifdef BUNDLE_DIR
|
||||
bundle install --deployment --without :slow_test --path=$(BUNDLE_DIR)
|
||||
else
|
||||
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-fast: check-for-non-ascii-urls check-for-wrong-filename-assignments \
|
||||
|
|
|
@ -9,10 +9,13 @@ source /etc/profile.d/rvm.sh
|
|||
|
||||
AUTHORIZED_SIGNERS_DIR='/bitcoin.org/auto-build-committers.gnupg'
|
||||
REPO='https://github.com/bitcoin-dot-org/bitcoin.org.git'
|
||||
BUNDLE_DIR='/bitcoin.org/bundle'
|
||||
SITEDIR='/bitcoin.org/site'
|
||||
DESTDIR='build@bitcoinorgsite:/var/www/site'
|
||||
WORKDIR=`mktemp -d`
|
||||
|
||||
export BUNDLE_DIR
|
||||
|
||||
# Stop script in case a single command fails
|
||||
set -e
|
||||
|
||||
|
@ -38,7 +41,7 @@ fi
|
|||
|
||||
# Update local branch
|
||||
git reset --hard origin/master
|
||||
git clean -f -d
|
||||
git clean -x -f -d
|
||||
|
||||
## Whether to auto-build or force-build
|
||||
case "${1:-nil}" in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue