From 3108c65176f80515e33300a838b57bc873942b73 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Sat, 8 Mar 2025 09:32:47 +0100 Subject: Take uv into use --- Makefile | 14 +++++++------- 1 file 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 -- cgit v1.2.3