Skip to content

Commit

Permalink
build: Update make/proto.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdotb committed Jan 23, 2023
1 parent 58c8710 commit 5543e7e
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 51 deletions.
4 changes: 2 additions & 2 deletions make/proto.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ containerProtoGen=cheqd-node-proto-gen-$(containerProtoVer)
containerProtoFmt=cheqd-node-proto-fmt-$(containerProtoVer)
containerProtoGenSwagger=cheqd-node-proto-gen-swagger-$(containerProtoVer)

proto-all: proto-lint proto-format proto-gen proto-swagger-gen
proto-all: proto-gen proto-swagger-gen

proto-gen:
@echo "Generating Protobuf files"
Expand All @@ -22,7 +22,7 @@ proto-format:
@if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoFmt}$$"; then docker start -a $(containerProtoFmt); else docker run --name $(containerProtoFmt) -v $(CURDIR):/workspace --workdir /workspace tendermintdev/docker-build-proto \
find . -name "*.proto" -not -path "./third_party/*" -exec clang-format -i {} \; ; fi

DOCKER_BUF := docker run -v $(shell pwd):/workspace --workdir /workspace bufbuild/buf:1.11.0
DOCKER_BUF := docker run -v $(shell pwd):/workspace --workdir /workspace bufbuild/buf:1.12.0

proto-lint:
@$(DOCKER_BUF) lint --error-format=json
Expand Down
96 changes: 48 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"conventional-changelog-conventionalcommits": "^5.0.0",
"semantic-release": "^20.0.2",
"semantic-release": "^20.0.3",
"swagger-combine": "^1.4.0"
}
}

0 comments on commit 5543e7e

Please sign in to comment.