feat: scaffold tuimble TUI mumble client
Core modules: TUI app (textual), mumble protocol client, audio pipeline (sounddevice + opus), push-to-talk with kitty protocol / evdev / toggle backends. Config via TOML.
This commit is contained in:
26
Makefile
Normal file
26
Makefile
Normal file
@@ -0,0 +1,26 @@
|
||||
.PHONY: setup run lint test clean
|
||||
|
||||
VENV := .venv
|
||||
PIP := $(VENV)/bin/pip
|
||||
PY := $(VENV)/bin/python
|
||||
|
||||
setup: $(VENV)/bin/activate
|
||||
|
||||
$(VENV)/bin/activate:
|
||||
python3 -m venv $(VENV)
|
||||
$(PIP) install --upgrade pip
|
||||
$(PIP) install -e ".[dev]"
|
||||
|
||||
run: setup
|
||||
$(PY) -m tuimble
|
||||
|
||||
lint: setup
|
||||
$(VENV)/bin/ruff check src/ tests/
|
||||
$(VENV)/bin/ruff format --check src/ tests/
|
||||
|
||||
test: setup
|
||||
$(VENV)/bin/pytest -v
|
||||
|
||||
clean:
|
||||
rm -rf $(VENV) dist build *.egg-info .pytest_cache .ruff_cache
|
||||
find . -type d -name __pycache__ -exec rm -rf {} +
|
||||
Reference in New Issue
Block a user