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:
|
|
./.venv/bin/zhurnal "ping google.nl" "watch -n 1 ps aux"
|
|
|
|
test:
|
|
./.venv/bin/python -m unittest zhurnal.tests
|