This commit is contained in:
4
Makefile
4
Makefile
@@ -14,12 +14,12 @@ run: ./mfer
|
||||
./$< gen
|
||||
|
||||
$(PROTOC_GEN_GO):
|
||||
test -e $(PROTOC_GEN_GO) || go get -u github.com/golang/protobuf/protoc-gen-go
|
||||
test -e $(PROTOC_GEN_GO) || go get -u google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
|
||||
prereqs: $(PROTOC_GEN_GO)
|
||||
which gofumpt || go install -v mvdan.cc/gofumpt@latest
|
||||
which golangci-lint || go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||
which protoc || go install -v github.com/golang/protobuf/protoc-gen-go@5d5e8c018a13017f9d5b8bf4fad64aaa42a87308
|
||||
#which protoc || go install -v google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||||
|
||||
mfer: prereqs src/*.go cmd/*/*.go
|
||||
cd proto && go generate .
|
||||
|
||||
Reference in New Issue
Block a user