mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
CI: Print colored diff for lint check (#6975)
* print colored diff in gha * use spaces
This commit is contained in:
parent
20cdcdb382
commit
dc152e89f7
2 changed files with 6 additions and 26 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# This script will run clang-format on all modified, non-3rd-party C++/Header files.
|
||||
# Optionally runs cmake-format on all modified cmake files.
|
||||
# Optionally runs shellcheck on all modified shell files.
|
||||
# Uses clang-format cmake-format git diff find shellcheck
|
||||
# Uses clang-format, cmake-format, git, diff, find and shellcheck
|
||||
# Never, ever, should this receive a path with a newline in it. Don't bother proofing it for that.
|
||||
|
||||
set -o pipefail
|
||||
|
|
@ -103,11 +103,11 @@ OPTIONS:
|
|||
Do not check any source files for clang-format.
|
||||
|
||||
--print-version
|
||||
Print the version of clang-format being used before continuing.
|
||||
Print the lint tool version being used before continuing.
|
||||
|
||||
--shell
|
||||
Use shellcheck to lint shell files. Not available in the default inline
|
||||
mode.
|
||||
Use shellcheck to lint shell files.
|
||||
Not available in the default inline mode.
|
||||
|
||||
-t, --test
|
||||
Do not edit files in place. Set exit code to 1 if changes are required.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue