Skip to content

Commit 559243e

Browse files
author
Nacho Caballero
committed
ensure make venv exits on error
1 parent 54ab504 commit 559243e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ venv:
6464
echo "venv already exists."; \
6565
echo "To recreate it, remove it first with \`make clean-venv'."; \
6666
else \
67+
set -e; \
6768
echo "Creating venv in $(VENVDIR)"; \
6869
if $(UV) --version >/dev/null 2>&1; then \
6970
$(UV) venv --python=$(PYTHON) $(VENVDIR); \

0 commit comments

Comments
 (0)