remove necessary buf installation
This commit adds buf as a regular dependency and go running it instead of requiring installing buf to one's own GOBIN.
This commit is contained in:
parent
a92f6abc6e
commit
3023323528
4 changed files with 84 additions and 186 deletions
4
Makefile
4
Makefile
|
@ -41,14 +41,14 @@ fmt:
|
|||
clang-format -style="{BasedOnStyle: Google, IndentWidth: 4, AlignConsecutiveDeclarations: true, AlignConsecutiveAssignments: true, ColumnLimit: 0}" -i $(PROTO_SOURCES)
|
||||
|
||||
proto-lint:
|
||||
cd proto/ && buf lint
|
||||
cd proto/ && go run github.com/bufbuild/buf/cmd/buf lint
|
||||
|
||||
compress: build
|
||||
upx --brute headscale
|
||||
|
||||
generate:
|
||||
rm -rf gen
|
||||
buf generate proto
|
||||
go run github.com/bufbuild/buf/cmd/buf generate proto
|
||||
|
||||
install-protobuf-plugins:
|
||||
go install \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue