mfer/Makefile
2021-11-03 03:49:34 -07:00

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 .