Les choses sérieuses commencent
This commit is contained in:
parent
7a9fe18463
commit
c63f62721b
41 changed files with 1270 additions and 0 deletions
28
Makefile
Normal file
28
Makefile
Normal 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
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue