forked from inuits/925r
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (18 loc) · 651 Bytes
/
Makefile
File metadata and controls
25 lines (18 loc) · 651 Bytes
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
.PHONY: help
help: ## Show this help
@egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
.PHONY: build
build: ## Build project with docker compose
docker-compose build
.PHONY: up
up: ## Run project with docker compose
docker-compose up --build --remove-orphans web
.PHONY: down
down: ## Reset project containers with docker compose
docker-compose down
.PHONY: clean
clean: ## Clean Reset project containers with docker compose
docker-compose down -v --remove-orphans
.PHONY: test
test: ## Run project tests and coverage with tox runner
docker-compose run --rm web tox