ClangBuiltLinux / boot-utils

Collection of files for booting Linux kernels
26 stars 7 forks source link

Reformat shell scripts with shfmt and validate in CI #8

Closed msfjarvis closed 4 years ago

msfjarvis commented 4 years ago

Uses mvdan/sh to enable formatting checks in CI, and correctly fails when the codestyle is incorrect, outputting a diff with fixes.

I chose the set of options that made the most sense to me, all available switches are listed here.

msfjarvis commented 4 years ago

LGTM. Wait for Nick to comment before merging.

We should also do this in tc-build, continuous-integration, and dockerimage, do you want me to do it?

I can do it, I'm free right now. I'm sure you have better things to do :)