-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
38 lines (26 loc) · 826 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
32
33
34
35
36
37
38
run_srv:
cd user/cmd/srv && make run
run_srv_broker_nats:
cd user/cmd/srv && make run_broker_nats
run_api:
cd user/cmd/api && make run
run_api_broker_nats:
cd user/cmd/api && make run_broker_nats
run_gateway:
cd gateway && make run_without_casbin namespace=$(namespace) secret=$(secret)
run_gateway_without_casbin:
cd gateway && make run_without_casbin namespace=$(namespace) secret=$(secret)
build_gateway:
cd gateway && make build
build_api:
cd user/cmd/api && make build
build_srv:
cd user/cmd/srv && make build
build_user:
cd user/cmd/api && make build
cd user/cmd/srv && make build
build_all:
cd gateway && make build
cd user/cmd/api && make build
cd user/cmd/srv && make build
.PHONY: run_srv run_api run_gateway run_gateway_without_casbin build_gateway build_api build_srv build_user build_all