all: ensure_env format build install test
format:
./.venv/bin/python -m black .
ensure_env:
-@python3 -m venv .venv
./.venv/bin/python -m pip install black
./.venv/bin/python -m pip install build
build:
./.venv/bin/python -m build .
install:
./.venv/bin/python -m pip install -e .
run:
python -m zhurnal "ping -c 1000 google.nl"
test:
./.venv/bin/python -m unittest zhurnal.tests