add makefile
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
|
||||
.PHONY: all
|
||||
all: test
|
||||
go run cmd/main.go
|
||||
|
||||
.PHONY: generate
|
||||
generate:
|
||||
./genproto.sh
|
||||
|
||||
test:
|
||||
go test ./... -v
|
||||
|
||||
.PHONY: build
|
||||
build: test
|
||||
CGO_ENABLED=0 go build cmd/main.go
|
||||
Reference in New Issue
Block a user