This commit is contained in:
@@ -3,10 +3,13 @@ set -euo pipefail
|
||||
|
||||
repo_root=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
|
||||
dither_dir="${repo_root}/bin/dither"
|
||||
cache_dir="${DITHER_CACHE_DIR:-${repo_root}/.cache/dither}"
|
||||
|
||||
mkdir -p "${cache_dir}"
|
||||
|
||||
pushd "${dither_dir}" >/dev/null
|
||||
bundle install
|
||||
ROOT="${repo_root}/content" KEY="${repo_root}/secret.key" bundle exec rackup -p 4567 &
|
||||
ROOT="${repo_root}/content" KEY="${repo_root}/secret.key" DITHER_CACHE_DIR="${cache_dir}" bundle exec rackup -p 4567 &
|
||||
dither_pid=$!
|
||||
popd >/dev/null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user