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

Factor out formatting from codegen #44

Merged
merged 5 commits into from
Oct 12, 2024
Merged

Factor out formatting from codegen #44

merged 5 commits into from
Oct 12, 2024

Conversation

clux
Copy link
Member

@clux clux commented Oct 12, 2024

Need to make it its own step because we cannot do it from renovate with shellouts because renovate does not have rustfmt.

(It also cannot easily be installed because renovate image is no sudo, and rustfmt is designed to be installed with rustup these days with no releases for manual install, and rustup is not installed in the image).

To make this less painful, and more sensible, we make cargo fmt an explicit last step of codegeneration and commit a small rustfmt rule file. No nightly this itme.

clux added 5 commits October 12, 2024 21:22
Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
since renovate does not contain rustfmt NOR rustup.

Signed-off-by: clux <[email protected]>
Signed-off-by: clux <[email protected]>
@clux clux merged commit fe6bf22 into main Oct 12, 2024
6 checks passed
@clux clux deleted the cargo-fmt-separate branch October 12, 2024 20:34
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.

1 participant