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

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

run:
	go run ./cmd/server

test:
	go test ./...

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/