-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (16 loc) · 627 Bytes
/
Makefile
File metadata and controls
21 lines (16 loc) · 627 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.DEFAULT_GOAL := build
COLOR_NONE = \033[0m
COLOR_CYAN = \033[36m
help: ## Display this help
@echo "For more help, run make --help\nOr check the manual: https://www.gnu.org/software/make/manual/html_node/index.html"
@printf "\nTargets:\n"
@awk -F ":.*##" '/^[a-zA-Z_-]+:.*?##/ { printf " ${COLOR_CYAN}%-10s${COLOR_NONE} %s\n", $$1, $$2 }' $(lastword $(MAKEFILE_LIST)) | sort -u
.PHONY: help
build: check test ## (default target) Quick development build: check and test
.PHONY: build
test: ## Quick test with a single Python version
tox -e py38
.PHONY: test
check: ## Check with pre-commit
tox -e check
.PHONY: check