summaryrefslogtreecommitdiff
path: root/Makefile
blob: b8726e1dc4b9b7e1bf2594bc69b9bdac4b3bad22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: build run test clean proto

build:
	go build -o bin/server ./cmd/server

run:
	go run ./cmd/server

test:
	go test ./... -v

proto:
	protoc \
  --go_out=pkg --go_opt=paths=source_relative \
  --go-grpc_out=pkg --go-grpc_opt=paths=source_relative \
  proto/*.proto

clean:
	rm -rf bin/*