12 lines
316 B
Makefile
12 lines
316 B
Makefile
|
|
SHELL := /usr/bin/env bash
|
||
|
|
.DEFAULT_GOAL := test
|
||
|
|
|
||
|
|
test: ## Run unit tests
|
||
|
|
python3 -m pytest -q
|
||
|
|
|
||
|
|
help: ## Show this help
|
||
|
|
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} \
|
||
|
|
/^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-24s\033[0m %s\n", $$1, $$2 }' $(MAKEFILE_LIST)
|
||
|
|
|
||
|
|
.PHONY: test help
|