mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
fix: update proto breaking check target to master branch
This commit is contained in:
parent
9fd55c9032
commit
415ac526d3
5
Makefile
5
Makefile
@ -195,14 +195,11 @@ proto-format:
|
|||||||
@echo "Formatting Protobuf files"
|
@echo "Formatting Protobuf files"
|
||||||
@$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \;
|
@$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \;
|
||||||
|
|
||||||
proto-swagger-gen:
|
|
||||||
@./scripts/protoc-swagger-gen.sh
|
|
||||||
|
|
||||||
proto-lint:
|
proto-lint:
|
||||||
@$(protoImage) buf lint --error-format=json
|
@$(protoImage) buf lint --error-format=json
|
||||||
|
|
||||||
proto-check-breaking:
|
proto-check-breaking:
|
||||||
@$(protoImage) buf breaking --against $(HTTPS_GIT)#branch=main
|
@$(protoImage) buf breaking --against $(HTTPS_GIT)#branch=master
|
||||||
|
|
||||||
.PHONY: all install install-debug \
|
.PHONY: all install install-debug \
|
||||||
go-mod-cache draw-deps clean build format \
|
go-mod-cache draw-deps clean build format \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user