Makefile 379 Bytes
all: gen build

gen:
	protoc -I./protos --go_out=./protos  --go-grpc_out=./protos ./protos/*proto
	protoc-go-inject-tag -input=./protos/pb/*.pb.go

test:
	go run test/client.go
http:
	go run cmd/http.go
game:
	go run cmd/game.go
build:
	go build -o bin/account cmd/http.go
	go build -o bin/game cmd/game.go
	go build -o bin/test test/client.go

.PHONY: all build protos test cert