summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 0f277da..3b93bba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,17 @@
test: all
- ./venv/bin/pytest tests/*
+ ./.venv/bin/pytest tests/*
-all: venv .git/hooks/pre-commit
+all: .venv .git/hooks/pre-commit
clean:
- rm -rf venv
+ rm -rf .venv
.git/hooks/pre-commit: pre-commit
install -m 755 pre-commit .git/hooks/pre-commit
-venv: requirements.txt
- rm -rf venv
- python -m venv venv
- ./venv/bin/pip install -r requirements.txt
+.venv: requirements.txt cli-project/pyproject.toml flashcards-project/pyproject.toml
+ rm -rf .venv
+ uv venv
+ uv pip install -r requirements.txt
.PHONY: all test clean