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