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
4141 if [ " Windows_NT" = " ${OS:- } " ]; then
4242 _TARGET=" --target x86_64-pc-windows-msvc"
4343 fi
44+ if [ -z " ${PYMONGO_BIN_DIR:- } " ]; then
45+ echo " Please install just!"
46+ exit 1
47+ fi
4448 echo " Installing just..."
4549 mkdir -p " $_BIN_DIR " 2> /dev/null || true
4650 curl --proto ' =https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- $_TARGET --to " $_BIN_DIR " || {
5155
5256# Ensure uv is installed.
5357if ! command -v uv & > /dev/null; then
58+ if [ -z " ${PYMONGO_BIN_DIR:- } " ]; then
59+ echo " Please install uv!"
60+ exit 1
61+ fi
5462 echo " Installing uv..."
5563 # On most systems we can install directly.
5664 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