summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-03-08 09:32:47 +0100
committerEddy Pedroni <epedroni@pm.me>2025-03-08 09:32:47 +0100
commit3108c65176f80515e33300a838b57bc873942b73 (patch)
treee024db0f445428b5199650654177cf3188fd2f59 /Makefile
parentb2cfaf91387bb030274a100b02094daa39571616 (diff)
Take uv into useHEADmaster
Diffstat (limited to 'Makefile')
-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