From 397d9148a77cfdbbc850da4fa97310afc218a385 Mon Sep 17 00:00:00 2001 From: Haitao Li Date: Thu, 19 Jan 2012 02:41:02 +0800 Subject: [PATCH] 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. --- mk/tests.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/tests.mk b/mk/tests.mk index d7f9f21be7f..7cf57c5d7c3 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -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