chore: initialize project scaffold with gitignore, Makefile, pyproject.toml, and rchat package skeleton

This commit is contained in:
2024-12-05 18:34:58 +00:00
commit 9d82613c66
18 changed files with 460 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
BIN = ./.venv/bin/
PYTHON = ./.venv/bin/python
PIP = ./.venv/bin/pip
APP_NAME=rchat
all: ensure_repo ensure_env format install build
ensure_repo:
-@git init
ensure_env:
-@python3 -m venv .venv
install:
$(PIP) install -e .
format:
$(PIP) install shed
. $(BIN)/activate && shed
build: format install
$(PIP) install build
$(PYTHON) -m build
run:
$(BIN)rchat.serve