Skip to content

Commit 077da0f

Browse files
committed
Delete any preexisting virtual environnment for building the docs
Closes #406
1 parent c54daeb commit 077da0f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

justfile

+5
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ docs-lock:
6262

6363
# Create a virtual environment for building the docs
6464
docs-venv:
65+
#!/usr/bin/env bash
66+
set -euxo pipefail
67+
if [ -d {{ VENV }} ]; then
68+
rm -rf {{ VENV }}
69+
fi
6570
cargo run -- -m venv {{ VENV }}
6671
cargo run -- -m pip install --quiet --disable-pip-version-check -r docs/requirements.txt
6772

0 commit comments

Comments
 (0)