From 9405fe728b9df77bcb70f4bc909d9d86ea595cce Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 13 Dec 2024 19:00:04 +0000 Subject: [PATCH] Updated Makefile. --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index ee84442..b589728 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,23 @@ ENV=./.venv/bin/activate - +PYTHON=./.venv/bin/python all: ensure_env format build install test format: - ./.venv/bin/python -m pip install shed + $(PYTHON) -m pip install shed . $(ENV) && python -m shed ensure_env: -@python3 -m venv .venv build: - ./.venv/bin/python -m pip install build - ./.venv/bin/python -m build . + $(PyTHON) -m pip install build + $(PYTHON) -m build . install: - ./.venv/bin/python -m pip install -e . + $(PYTHON) -m pip install -e . run: - python -m ragnar.run + $(PYTHON) -m ragnar.run test: - ./.venv/bin/python -m unittest ragnar.tests + $(PYTHON) -m unittest ragnar.tests