about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHaitao Li <lihaitao@gmail.com>2012-01-19 02:41:02 +0800
committerHaitao Li <lihaitao@gmail.com>2012-01-19 02:51:57 +0800
commit397d9148a77cfdbbc850da4fa97310afc218a385 (patch)
tree6f2907f675e47b3d759a5c52fd7c07e66f2dbd56
parent7b1724fb40a1eff8f3f7960f9a52e8e04decdaaf (diff)
downloadrust-397d9148a77cfdbbc850da4fa97310afc218a385.tar.gz
rust-397d9148a77cfdbbc850da4fa97310afc218a385.zip
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.
-rw-r--r--mk/tests.mk4
1 files 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