latest
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,12 +1,16 @@
|
||||
PROTOC_GEN_GO := $(GOPATH)/bin/protoc-gen-go
|
||||
|
||||
default: compile
|
||||
default: run
|
||||
|
||||
run: compile
|
||||
./mfer
|
||||
|
||||
$(PROTOC_GEN_GO):
|
||||
go get -u github.com/golang/protobuf/protoc-gen-go
|
||||
|
||||
compile: $(PROTOC_GEN_GO)
|
||||
cd proto && go generate .
|
||||
cd cmd/mfer && go build
|
||||
|
||||
clean:
|
||||
rm -rfv proto/*.pb.go
|
||||
|
||||
Reference in New Issue
Block a user