Aller au contenu

Makefile

Makefile
# A set of useful commands to manage this project

default: help

.PHONY: clean-python
clean-python: ## Cleans Python environment.
    find . -path "*.pyc" -delete
    find . -path "*/__pycache__" -delete

.PHONY: help
help: ## Lists all the available commands.
    @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(firstword $(MAKEFILE_LIST)) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'