-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (23 loc) · 800 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SHELL := /bin/bash
.DEFAULT_GOAL := help
###########################
# VARIABLES
###########################
###########################
# MAPPINGS
###########################
###########################
# TARGETS
###########################
.PHONY: help
help: ## help target to show available commands with information
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: markdownlint
markdownlint: ## Validate markdown files
docker-compose run docs markdownlint . --ignore node_modules
.PHONY: zsh
zsh: ## open dev container with build environment
docker-compose run --service-ports dev /bin/zsh
.PHONY: prune
prune: ## delete the whole environment
docker-compose down -v --rmi all --remove-orphans