-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
31 lines (21 loc) · 849 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
31
.PHONY: help
help: ## Show all commands
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
setup-dev: ## Setup development environment
docker-compose -f docker-infra.yml up -d
down-dev: ## Down development environment
docker-compose -f docker-infra.yml down -v
build: ## Build jar
./gradlew clean build
run-leader: ## Run leader
./gradlew :bank-cluster-app:run-leader
run-follower: ## Run follower
./gradlew :bank-cluster-app:run-follower
run-learner: ## Run learner
./gradlew :bank-cluster-app:run-learner
run-admin: ## Run admin app
./gradlew :bank-client-app-admin:run-admin
run-user: ## Run user app
./gradlew :bank-client-app-admin:run-user
run-benchmark-tool: ## Run benchmark tool
./gradlew :benchmark:benchmark-cluster:run-benchmark-tool