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

Add shfmt for sh and bash scripts #1567

Closed
nedtwigg opened this issue Feb 11, 2023 · 2 comments · Fixed by #1998
Closed

Add shfmt for sh and bash scripts #1567

nedtwigg opened this issue Feb 11, 2023 · 2 comments · Fixed by #1998

Comments

@nedtwigg
Copy link
Member

Looks like there's a good one here:

https://github.com/mvdan/sh/blob/master/cmd/shfmt/shfmt.1.scd

PR's welcome. This should be pretty easy, you can follow the example of BlackStep and ClangFormatStep. See #672 for more details on how they work.

@nedtwigg
Copy link
Member Author

Implemented in gradle as of 6.24.0.

@nedtwigg
Copy link
Member Author

Implemented in plugin-maven 2.43.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant