mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-01 23:37:48 +00:00
Exclude html files from checkpatch
Also, fix 2 nits in the codebase. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -156,8 +156,8 @@ install: all
|
||||
# Target used to check the coding style of the whole codebase. '.y' and '.l'
|
||||
# files aren't checked, unfortunately...
|
||||
checkcodebase:
|
||||
$Qfor file in `git ls-files | grep -E '\.c|\.h'`; do \
|
||||
${CHECKPATCH} -f "$$file"; \
|
||||
$Qfor file in `git ls-files | grep -E '\.c|\.h' | grep -v '\.html'`; do \
|
||||
${CHECKPATCH} -f "$$file"; \
|
||||
done
|
||||
|
||||
# Target used to check the coding style of the patches from the upstream branch
|
||||
|
||||
Reference in New Issue
Block a user