mfer/Makefile

16 lines
240 B
Makefile

PROTOC_GEN_GO := $(GOPATH)/bin/protoc-gen-go
default: compile
$(PROTOC_GEN_GO):
go get -u github.com/golang/protobuf/protoc-gen-go
compile: $(PROTOC_GEN_GO)
cd proto && go generate .
clean:
rm -rfv proto/*.pb.go
fmt:
prettier -w .