Erminig/Makefile

30 lines
553 B
Makefile
Raw Permalink 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:
sudo find . -name "*.pyc" -delete
sudo find . -name "__pycache__" -type d -exec rm -rf {} +
sudo find . -name "*.egg-info" -type d -exec rm -rf {} +
sudo find . -name ".pytest_cache" -type d -exec rm -rf {} +
2025-04-29 17:15:19 +02:00
build-all: fmt test docker-build