mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 06:45:08 +00:00
* test(pre-commit): Include security checks * test(pre-commit): Include dependencies * test(aws-provider): First unit tests * test(arn-parsing): Include first tests * chore(providers): Remove old comments
14 lines
476 B
Makefile
14 lines
476 B
Makefile
.DEFAULT_GOAL:=help
|
|
|
|
test: ## Test with pytest
|
|
pytest -v
|
|
|
|
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)
|