-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix buf version to v1.28.1 and regenerate
- Loading branch information
Showing
3 changed files
with
68 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
DOCKER := $(shell which docker) | ||
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf | ||
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf:1.28.1 | ||
|
||
## proto-gen-docker: Generate protobuf files. Requires docker. | ||
proto-gen-docker: | ||
proto-gen: | ||
@echo "--> Generating Protobuf files" | ||
$(DOCKER_BUF) generate | ||
.PHONY: proto-gen-docker | ||
|
||
## proto-gen: Generate protobuf files. Requires buf. | ||
proto-gen: | ||
@echo "--> Generating Protobuf files" | ||
@buf generate | ||
.PHONY: proto-gen | ||
|
||
## proto-lint-docker: Lint protobuf files. Requires docker. | ||
proto-lint-docker: | ||
proto-lint: | ||
@echo "--> Linting Protobuf files" | ||
@$(DOCKER_BUF) lint | ||
.PHONY: proto-lint |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.