-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (26 loc) · 753 Bytes
/
Makefile
File metadata and controls
35 lines (26 loc) · 753 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
26
27
28
29
30
31
32
33
34
35
.DEFAULT_GOAL := help
.PHONY: help
help: ## show this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
clean: ## remove build folders
@./gradlew --stop
@rm -rf .gradle
@rm -rf build
@rm -rf out
@rm -rf node_modules
@rm -f *.bat
stage: ## package (task executed by heroky)
@./gradlew stage
dc-stop: ## stop docker containters
@docker-compose stop -t 0
dc-build: dc-stop ## build docker containers
@docker-compose build
dc-up: dc-build ## start docker containers
@docker-compose up -d
deps:
@docker-compose up -d db
@docker-compose up -d redis
classes: ## compile
@./gradlew classes testClasses
test:
@./gradlew test --warning-mode none