-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (19 loc) · 813 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
messaging:
go run components/messaging/main.go --config ./components/messaging/config.yaml
core:
go run components/core/main.go --config ./components/core/config.yaml
webhook:
go run components/webhook/main.go --config ./components/webhook/config.yaml
build: build-messaging build-core
.PHONY: build-messaging
build-messaging:
CGO_ENABLED=0 GOOS=linux go build -o ./build ./components/messaging
docker build -t locmai/yuta-messaging --build-arg component=messaging .
.PHONY: build-core
build-core:
CGO_ENABLED=0 GOOS=linux go build -o ./build ./components/core
docker build -t locmai/yuta-core --build-arg component=core .
.PHONY: build-webhook
build-webhook:
CGO_ENABLED=0 GOOS=linux go build -o ./build ./components/webhook
docker build -t locmai/yuta-webhook --build-arg component=webhook .