Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ |
---|
4 | set -euxo pipefail |
---|
5 | |
---|
6 | # The filesystem location of the root of a virtualenv we can use to get/build |
---|
7 | # wheels. |
---|
8 | BOOTSTRAP_VENV="$1" |
---|
9 | shift |
---|
10 | |
---|
11 | # The filesystem location of the root of the project source. We need this to |
---|
12 | # know what wheels to get/build, of course. |
---|
13 | PROJECT_ROOT="$1" |
---|
14 | shift |
---|
15 | |
---|
16 | # The filesystem location of the wheelhouse which we'll populate with wheels |
---|
17 | # for all of our dependencies. |
---|
18 | WHEELHOUSE_PATH="$1" |
---|
19 | shift |
---|
20 | |
---|
21 | TAHOE_LAFS_TOX_ENVIRONMENT=$1 |
---|
22 | shift |
---|
23 | |
---|
24 | TAHOE_LAFS_TOX_ARGS=$1 |
---|
25 | shift || : |
---|
26 | |
---|
27 | # Tell pip where it can find any existing wheels. |
---|
28 | ##export PIP_FIND_LINKS="file://${WHEELHOUSE_PATH}" |
---|
29 | ##export PIP_NO_INDEX="1" |
---|
30 | |
---|
31 | # Get everything else installed in it, too. |
---|
32 | "${BOOTSTRAP_VENV}"/bin/tox \ |
---|
33 | -c "${PROJECT_ROOT}"/tox.ini \ |
---|
34 | --workdir /tmp/tahoe-lafs.tox \ |
---|
35 | --notest \ |
---|
36 | -e "${TAHOE_LAFS_TOX_ENVIRONMENT}" \ |
---|
37 | ${TAHOE_LAFS_TOX_ARGS} |
---|
Note: See
TracBrowser
for help on using the repository browser.