diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e558582 --- /dev/null +++ b/Makefile @@ -0,0 +1,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/ |
