File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
set -eu
4
- <<< <<< < HEAD
5
- file=" $PROJECT_DIRECTORY /.evergreen/install-dependencies.sh"
6
- # Don't use ${file} syntax here because evergreen treats it as an empty expansion.
7
- [ -f " $file " ] && bash " $file "
8
- ||||||| 86084adb2
9
- file=" $PROJECT_DIRECTORY /.evergreen/install-dependencies.sh"
10
- # Don't use ${file} syntax here because evergreen treats it as an empty expansion.
11
- [ -f " $file " ] && bash " $file " || echo " $file not available, skipping"
12
- =======
13
4
14
5
# On Evergreen jobs, "CI" will be set, and we don't want to write to $HOME.
15
6
if [ " ${CI:- } " == " true" ]; then
@@ -49,4 +40,16 @@ if ! command -v just 2>/dev/null; then
49
40
fi
50
41
echo " Installing just... done."
51
42
fi
52
- >>>>>>> 2235b8354cef0acc0b41321fc103d14acf0ef92f
43
+
44
+ # Install uv.
45
+ if ! command -v uv 2> /dev/null; then
46
+ echo " Installing uv..."
47
+ # On most systems we can install directly.
48
+ _curl https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=" $_BIN_DIR " INSTALLER_NO_MODIFY_PATH=1 sh || {
49
+ _pip_install uv uv
50
+ }
51
+ if ! command -v uv 2> /dev/null; then
52
+ export PATH=" $PATH :$_BIN_DIR "
53
+ fi
54
+ echo " Installing uv... done."
55
+ fi
You can’t perform that action at this time.
0 commit comments