29 lines
391 B
Makefile
Raw Normal View History

2024-12-16 22:15:42 +00:00
BIN = ./.venv/bin/
PYTHON = ./.venv/bin/python
PIP = ./.venv/bin/pip
APP_NAME=boeh
all: install build
ensure_repo:
-@git init
ensure_env: ensure_repo
-@python3 -m venv .venv
install: ensure_env
$(PIP) install -e .
format:
$(PIP) install shed
. $(BIN)/activate && shed
build:
$(MAKE) format
$(PIP) install build
$(PYTHON) -m build
run:
$(BIN)$(APP_NAME) --port=3028