mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 06:45:08 +00:00
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com> Co-authored-by: Pepe Fagoaga <pepe@verica.io>
14 lines
492 B
Makefile
14 lines
492 B
Makefile
.DEFAULT_GOAL:=help
|
|
|
|
test: ## Test with pytest
|
|
pytest -n auto -vvv -s -x
|
|
|
|
coverage: ## Show Test Coverage
|
|
coverage run --skip-covered -m pytest -v && \
|
|
coverage report -m && \
|
|
rm -rf .coverage
|
|
##@ Help
|
|
help: ## Show this help.
|
|
@echo "Prowler Makefile"
|
|
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
|