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.
This commit is contained in:
Haitao Li 2012-01-19 02:41:02 +08:00
parent 7b1724fb40
commit 397d9148a7

View file

@ -66,9 +66,9 @@ endif
# Main test targets
######################################################################
check: all tidy check-stage2 \
check: tidy all check-stage2 \
check-full: all tidy check-stage1 check-stage2 check-stage3 \
check-full: tidy all check-stage1 check-stage2 check-stage3 \
# Run the tidy script in multiple parts to avoid huge 'echo' commands
ifdef CFG_NOTIDY