chore: scaffold devranta project with Makefile, CI workflow, and async API client stub

This commit is contained in:
2024-12-02 16:41:02 +00:00
commit 7ab84098cc
26 changed files with 388 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
PYTHON=./.venv/bin/python
PIP=./.venv/bin/pip
BIN=./.venv/bin
all: format install build run test
ensure_env:
-@python3 -m venv .venv
install: ensure_env
$(PIP) install -e .
build: ensure_env
$(PIP) install build
$(PYTHON) -m build .
format: ensure_env
$(PIP) install shed
$(BIN)/shed src/devranta/*.py
test: ensure_env
$(PYTHON) -m unittest devranta.tests
run: ensure_env
$(BIN)/devranta