-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
52 lines (40 loc) · 870 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
v ?= latest
.PHONY: build
build:
make -C arena-service build
make -C game-service build
.PHONY: proto
proto:
make -C arena-service proto
make -C game-service proto
protoc -I=./proto --go_out=:${GOPATH}/src --micro_out=:${GOPATH}/src ./proto/pubsub/pubsub.proto
.PHONY: docker
docker:
make -C arena-service docker
make -C game-service docker
.PHONY: test
test:
make -C arena-service test
make -C game-service test
.PHONY: run
run:
make -C arena-service run
make -C game-service run
make -C apps/rpc_presure run
.PHONY: docker_run
docker_run:
v=${v} docker-compose up -d
.PHONY: push
push:
make -C arena-service push
make -C game-service push
.PHONY: push_github
push_github:
make -C arena-service push_github
make -C game-service push_github
.PHONY: clean
clean:
docker rm -f $(shell docker ps -a -q)
.PHONY: stop
stop:
docker-compose down