File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ if ! command -v just &>/dev/null; then
41
41
if [ " Windows_NT" = " ${OS:- } " ]; then
42
42
_TARGET=" --target x86_64-pc-windows-msvc"
43
43
fi
44
+ if [ -z " ${PYMONGO_BIN_DIR:- } " ]; then
45
+ echo " Please install just!"
46
+ exit 1
47
+ fi
44
48
echo " Installing just..."
45
49
mkdir -p " $_BIN_DIR " 2> /dev/null || true
46
50
curl --proto ' =https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- $_TARGET --to " $_BIN_DIR " || {
51
55
52
56
# Ensure uv is installed.
53
57
if ! command -v uv & > /dev/null; then
58
+ if [ -z " ${PYMONGO_BIN_DIR:- } " ]; then
59
+ echo " Please install uv!"
60
+ exit 1
61
+ fi
54
62
echo " Installing uv..."
55
63
# On most systems we can install directly.
56
64
curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=" $_BIN_DIR " INSTALLER_NO_MODIFY_PATH=1 sh || {
You can’t perform that action at this time.
0 commit comments