chore: initialize project structure with empty repository scaffold
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user