Les choses sérieuses commencent

This commit is contained in:
L0m1g 2025-04-29 17:15:19 +02:00
parent 7a9fe18463
commit c63f62721b
41 changed files with 1270 additions and 0 deletions

28
Makefile Normal file
View file

@ -0,0 +1,28 @@
.PHONY: install test fmt docker-build up rebuild clean
install:
pip install -e .[dev]
test:
pytest -v
fmt:
black erminig tests
docker-build:
podman-compose -f docker-compose.yml build
up:
podman-compose -f docker-compose.yml run erminig
rebuild: docker-build up
clean:
find . -name "*.pyc" -delete
find . -name "__pycache__" -type d -exec rm -rf {} +
find . -name "*.egg-info" -type d -exec rm -rf {} +
find . -name ".pytest_cache" -type d -exec rm -rf {} +
build-all: fmt test docker-build