mirror of
https://github.com/juanfont/headscale.git
synced 2025-10-15 06:10:29 +00:00
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:
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 \
|
||||
|
Reference in New Issue
Block a user