Skip to content

Commit 380331a

Browse files
committed
cleanup
1 parent e39c65d commit 380331a

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.evergreen/just.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -eu
33

4-
. .evergreen/scripts/setup-dev-env.sh ensure-uv
4+
. .evergreen/scripts/setup-dev-env.sh
55

66
just "$@"

.evergreen/scripts/setup-dev-env.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ if [ -z "${CI:-}" ]; then
3838
cd $ROOT && uv sync
3939
)
4040

41+
# Set up build utilities on Windows spawn hosts.
42+
if [ -f $HOME/.visualStudioEnv.sh ]; then
43+
set +u
44+
SSH_TTY=1 source $HOME/.visualStudioEnv.sh
45+
set -u
46+
fi
47+
4148
# Only set up pre-commit if we are in a git checkout.
4249
if [ -f $HERE/.git ]; then
4350
if ! command -v pre-commit &>/dev/null; then

.evergreen/scripts/setup-system.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,7 @@ popd
1212

1313
# Run spawn host-specific tasks.
1414
if [ -z "${CI:-}" ]; then
15-
# Set up build utilities on Windows.
16-
if [ -f $HOME/.visualStudioEnv.sh ]; then
17-
set +u
18-
SSH_TTY=1 source $HOME/.visualStudioEnv.sh
19-
set -u
20-
fi
21-
bash $HERE/setup-dev-env.sh ensure-uv
15+
bash $HERE/setup-dev-env.sh
2216
fi
2317

2418
# Enable core dumps if enabled on the machine

.evergreen/setup-spawn-host.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ echo "Copying files to $target..."
1515
rsync -az -e ssh --exclude '.git' --filter=':- .gitignore' -r . $target:$remote_dir
1616
echo "Copying files to $target... done"
1717

18-
ssh $target "PYTHON_VERSION=${PYTHON_VERSION:-} $remote_dir/.evergreen/scripts/setup-system.sh"
18+
ssh $target "$remote_dir/.evergreen/scripts/setup-system.sh"

0 commit comments

Comments
 (0)