Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small improvements in Taskfile about protocol buffer generation #2793

Merged
merged 3 commits into from
Dec 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@ tasks:

protoc:
desc: Lint, format and compile protobuf definitions
deps:
- protoc:check
- protoc:format
- protoc:compile
- protoc:breaking-change-detection
cmds:
- task: protoc:format
- task: protoc:check
- task: protoc:compile
- task: protoc:breaking-change-detection

protoc:compile:
desc: Compile protobuf definitions
Expand All @@ -243,8 +243,7 @@ tasks:
protoc:docs:
desc: Generate docs for protobuf definitions
cmds:
- |
buf generate --template buf.doc.gen.yaml
- buf generate --template buf.doc.gen.yaml

docs:include-configuration-json-schema:
desc: Copy configuration JSON schema to make it available in documentation
Expand All @@ -266,7 +265,7 @@ tasks:
protoc:format:
desc: Perform formatting of the protobuf definitions
cmds:
- buf format --write --exit-code
- buf format --write

protoc:breaking-change-detection:
desc: Detect protobuf breaking changes
Expand Down
Loading