You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
240 B

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 .