Skip to content

Commit d886d96

Browse files
authored
Check for venv existence before creating in justfile (#8)
1 parent 8125aa3 commit d886d96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

justfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ help:
55

66
# Install a development virtual environment (at `./.venv`).
77
install:
8-
python -m venv .venv
8+
if [ ! -d .venv ]; then
9+
python -m venv .venv
10+
fi
911
.venv/bin/pip install --upgrade pip setuptools wheel
1012
.venv/bin/pip install -e.
1113
.venv/bin/pip install -r requirements/test/requirements.txt

0 commit comments

Comments
 (0)