aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-02-24 18:56:37 +0100
committerEddy Pedroni <epedroni@pm.me>2025-02-24 18:56:37 +0100
commite0d9a87638241875ca5148b6fed9b9908180fe85 (patch)
tree0f15c755734735b23c8f54b2c61d21a0b22ba90e /Makefile
parent82fb10d22a89facfa2e74ffd05d9f51236c1f64a (diff)
Update to uv
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 74a7976..0a20ee2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,20 @@
test: all
- cd solo-tool-project/test && ../../venv/bin/pytest *test.py
+ cd solo-tool-project/test && ../../.venv/bin/pytest *test.py
-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: venv/touchfile
+.venv: .venv/touchfile
-venv/touchfile: requirements.txt solo-tool-project/pyproject.toml cli-project/pyproject.toml gui-project/pyproject.toml
+.venv/touchfile: requirements.txt solo-tool-project/pyproject.toml cli-project/pyproject.toml gui-project/pyproject.toml
rm -rf venv
- python -m venv venv
- ./venv/bin/pip install -r requirements.txt
- touch venv/touchfile
+ uv venv
+ uv pip install -r requirements.txt
+ touch .venv/touchfile
.PHONY: all test clean