Skip to content

Commit 397d914

Browse files
committed
build: Run tidy first before all other check targets
`make check` executes `tidy` after compile. It reminds me that I've left long lines or trailing whitespaces only after compilation finshed. That is too late since I have to recompile only because fixing the trivial formatting issues. Run tidy first to avoid potentially unnecessary re-compilation.
1 parent 7b1724f commit 397d914

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/tests.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ endif
6666
# Main test targets
6767
######################################################################
6868

69-
check: all tidy check-stage2 \
69+
check: tidy all check-stage2 \
7070

71-
check-full: all tidy check-stage1 check-stage2 check-stage3 \
71+
check-full: tidy all check-stage1 check-stage2 check-stage3 \
7272

7373
# Run the tidy script in multiple parts to avoid huge 'echo' commands
7474
ifdef CFG_NOTIDY

0 commit comments

Comments
 (0)