From e0d9a87638241875ca5148b6fed9b9908180fe85 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Mon, 24 Feb 2025 18:56:37 +0100 Subject: Update to uv --- Makefile | 16 ++++++++-------- 1 file 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 -- cgit v1.2.3