Skip to content

Commit 914a826

Browse files
nachocabNacho Caballero
andauthored
Ensure make venv exits on error (#4502)
Co-authored-by: Nacho Caballero <[email protected]>
1 parent fccb504 commit 914a826

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)