-
Notifications
You must be signed in to change notification settings - Fork 728
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/buf: New port: CLI tool for working with Protocol Buffers
- Loading branch information
Showing
4 changed files
with
41 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
PORTNAME= buf | ||
DISTVERSIONPREFIX= v | ||
DISTVERSION= 1.32.0 | ||
CATEGORIES= devel | ||
|
||
MAINTAINER= yuri@FreeBSD.org | ||
COMMENT= CLI tool for working with Protocol Buffers | ||
WWW= https://buf.build/ | ||
|
||
LICENSE= APACHE20 | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
RUN_DEPENDS= jq:textproc/jq | ||
|
||
USES= go:modules | ||
|
||
GO_MODULE= github.com/bufbuild/buf | ||
GO_TARGET= ./cmd/buf \ | ||
./cmd/protoc-gen-buf-breaking \ | ||
./cmd/protoc-gen-buf-lint | ||
|
||
PLIST_FILES= bin/buf \ | ||
bin/protoc-gen-buf-breaking \ | ||
bin/protoc-gen-buf-lint | ||
|
||
.include <bsd.port.mk> |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
TIMESTAMP = 1715983806 | ||
SHA256 (go/devel_buf/buf-v1.32.0/v1.32.0.mod) = 7ffff26e114671de7a91308f5830ddaeeef8a4d68d7163fb48d1fd626e7f3a4b | ||
SIZE (go/devel_buf/buf-v1.32.0/v1.32.0.mod) = 4181 | ||
SHA256 (go/devel_buf/buf-v1.32.0/v1.32.0.zip) = 6bf42beee7cbc3644c10e31e11baffd0db19abcbf81f495df81f4c3ca4d77748 | ||
SIZE (go/devel_buf/buf-v1.32.0/v1.32.0.zip) = 2850276 |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The buf CLI is the tool for working with Protocol Buffers. It provides: | ||
* A linter that enforces good API design choices and structure. | ||
* A breaking change detector that enforces compatibility at the source code | ||
or wire level. | ||
* A generator that invokes your plugins based on configurable templates. | ||
* A formatter that formats your Protobuf files in accordance with industry | ||
standards. | ||
* Integration with the Buf Schema Registry, including full dependency | ||
management. |