mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 22:32:23 +00:00
24 lines
860 B
Bash
Executable File
24 lines
860 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
|
set -euxo pipefail
|
|
|
|
# The filesystem location of the wheelhouse which we'll populate with wheels
|
|
# for all of our dependencies.
|
|
WHEELHOUSE_PATH="$1"
|
|
shift
|
|
|
|
# The filesystem location of the root of a virtualenv we can use to get/build
|
|
# wheels.
|
|
BOOTSTRAP_VENV="$1"
|
|
shift
|
|
|
|
# The filesystem location of the root of the project source. We need this to
|
|
# know what wheels to get/build, of course.
|
|
PROJECT_ROOT="$1"
|
|
shift
|
|
|
|
"${PROJECT_ROOT}"/.circleci/fix-permissions.sh "${WHEELHOUSE_PATH}" "${BOOTSTRAP_VENV}" "${PROJECT_ROOT}"
|
|
sudo --set-home -u nobody "${PROJECT_ROOT}"/.circleci/create-virtualenv.sh "${WHEELHOUSE_PATH}" "${BOOTSTRAP_VENV}"
|
|
sudo --set-home -u nobody "${PROJECT_ROOT}"/.circleci/populate-wheelhouse.sh "${WHEELHOUSE_PATH}" "${BOOTSTRAP_VENV}" "${PROJECT_ROOT}"
|