mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 10:59:36 +00:00
Use a separate CI step to install clang-format before running it
Also use short `-Yqu` flags like our other invocations
This commit is contained in:
@@ -243,12 +243,12 @@ coverage:
|
||||
|
||||
# Target used in development to format source code with clang-format.
|
||||
format:
|
||||
$Qclang-format -i $$(git ls-files '*.hpp' '*.cpp')
|
||||
$Qclang-format -i $$(git ls-files '*.[hc]pp')
|
||||
|
||||
# Target used in development to check code with clang-tidy.
|
||||
# Requires Bison-generated header files to exist.
|
||||
tidy: src/asm/parser.hpp src/link/script.hpp
|
||||
$Qclang-tidy -p . $$(git ls-files '*.hpp' '*.cpp')
|
||||
$Qclang-tidy -p . $$(git ls-files '*.[hc]pp')
|
||||
|
||||
# Target used in development to remove unused `#include` headers.
|
||||
iwyu:
|
||||
|
||||
Reference in New Issue
Block a user