Makefile 342 Bytes


all: ge build run

ge:
	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
account:
	go run cmd/account.go
game:
	go run cmd/game.go
build:
	go build -o bin/account account.go
	go build -o bin/game game.go

.PHONY: all build protos test