Skip to content

Commit ce8c7b4

Browse files
authored
Check if the hatch is already installed, and install only if it isn't installed yet (#603)
1 parent a55f416 commit ce8c7b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ clean:
44
rm -fr .venv clean htmlcov .mypy_cache .pytest_cache .ruff_cache .coverage coverage.xml
55

66
.venv/bin/python:
7-
pip install hatch
7+
if ! command -v hatch &> /dev/null; then pip install hatch ; fi
88
hatch env create
99

1010
dev: .venv/bin/python

0 commit comments

Comments
 (0)