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 shell script support via shfmt #1994

Conversation

tcrawford-figure
Copy link
Contributor

@tcrawford-figure tcrawford-figure commented Jan 13, 2024

This adds Gradle support for shfmt and addresses #1567

@tcrawford-figure tcrawford-figure marked this pull request as ready for review January 13, 2024 02:19
@Goooler
Copy link
Member

Goooler commented Jan 13, 2024

Can you add maven support as well?

@nedtwigg
Copy link
Member

Thanks for the great PR! Maven support is very welcome, but you're under no obligation to fill the matrix.

@nedtwigg nedtwigg merged commit e2e42e4 into diffplug:main Jan 15, 2024
3 checks passed
@nedtwigg
Copy link
Member

Published in plugin-maven 2.42.0 and plugin-gradle 6.24.0.

@tcrawford-figure tcrawford-figure deleted the tylercrawford/issue-1567/support-sh-bash branch January 15, 2024 16:47
@simschla
Copy link
Contributor

Love this feature, thanks @tcrawford-figure ❤️

Wouldn't we need to add these special tests (gradlew testShfmt) to the ci github workflow, @nedtwigg ?

@tcrawford-figure
Copy link
Contributor Author

tcrawford-figure commented Jan 17, 2024

@simschla happy to hear that! Based on feedback from @nedtwigg in the maven PR #1998 (comment), yes. Adding these special tests to the github workflow would probably be good. I haven't had time to look into doing that yet. If you have time to work on that, by all means, please add support! Otherwise, I may look into it sometime in the next week.

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.

4 participants