Erminig/Makefile

30 lines
533 B
Makefile
Raw Normal View History

2025-04-29 17:15:19 +02:00
.PHONY: install test fmt docker-build up rebuild clean
install:
pip install -e .[dev]
test:
pytest -v
fmt:
black erminig tests
2025-05-03 16:19:45 +02:00
git add erminig tests
2025-04-29 17:15:19 +02:00
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