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

Update buf CLI and make use of the clean option #958

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

timostamm
Copy link
Member

v1.36.0 of the buf CLI adds the top-level option clean to buf.gen.yaml. We can replace our npm scripts with this option.

@@ -6,7 +6,6 @@
"build": "../../node_modules/typescript/bin/tsc --noEmit",
"add": "tsx src/add.ts",
"list": "tsx src/list.ts",
"pregenerate": "rm -rf src/gen",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One less shell process to run, and this npm script is not portable, so I'm very happy that we can remove it.

@timostamm timostamm requested a review from smaye81 August 12, 2024 08:45
@timostamm timostamm merged commit 5136bd3 into main Aug 12, 2024
18 checks passed
@timostamm timostamm deleted the tstamm/update-buf-cli branch August 12, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants