ragnar/Makefile

21 lines
372 B
Makefile
Raw Permalink Normal View History

2024-11-27 09:54:27 +00:00
all: ensure_env format build install test
2024-11-27 01:59:42 +00:00
format:
./.venv/bin/python -m pip install black
./.venv/bin/python -m black .
ensure_env:
-@python3 -m venv .venv
build:
./.venv/bin/python -m pip install build
./.venv/bin/python -m build .
install:
./.venv/bin/python -m pip install -e .
run:
2024-11-27 09:54:27 +00:00
python -m ragnar.run
test:
./.venv/bin/python -m unittest ragnar.tests