Skip to content

Commit dad1dc5

Browse files
nachocabNacho Caballero
authored andcommitted
gh-136854: Exit on error in make venv (GH-136856)
(cherry picked from commit 9c2f91c) Co-authored-by: Nacho Caballero <nachocab@gmail.com> Co-authored-by: Nacho Caballero <nacho.caballero@astrazeneca.com>
1 parent 0e90926 commit dad1dc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ venv:
170170
echo "venv already exists."; \
171171
echo "To recreate it, remove it first with \`make clean-venv'."; \
172172
else \
173+
set -e; \
173174
echo "Creating venv in $(VENVDIR)"; \
174175
if $(UV) --version >/dev/null 2>&1; then \
175176
$(UV) venv --python=$(PYTHON) $(VENVDIR); \

0 commit comments

Comments
 (0)