Split 'make tidy' into multiple commands

The echo command line seems to be getting too large
This commit is contained in:
Brian Anderson 2011-10-31 12:57:50 -07:00
parent 8207506bbc
commit 799ba7b122
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,7 @@ check-fast: tidy \
check-stage2-rustc check-stage2-std \ check-stage2-rustc check-stage2-std \
test/$(FT_DRIVER).out \ test/$(FT_DRIVER).out \
# Run the tidy script in multiple parts to avoid huge 'echo' commands
tidy: tidy:
@$(call E, check: formatting) @$(call E, check: formatting)
$(Q)echo \ $(Q)echo \
@ -92,6 +93,8 @@ tidy:
$(STDLIB_INPUTS) \ $(STDLIB_INPUTS) \
$(COMPILETEST_CRATE) \ $(COMPILETEST_CRATE) \
$(COMPILETEST_INPUTS) \ $(COMPILETEST_INPUTS) \
| xargs -n 10 python $(S)src/etc/tidy.py
$(Q)echo \
$(ALL_TEST_INPUTS) \ $(ALL_TEST_INPUTS) \
| xargs -n 10 python $(S)src/etc/tidy.py | xargs -n 10 python $(S)src/etc/tidy.py