build: Split up tidy command further to make arg list shorter

Distcheck was failing on the linux bots - too many arguments to tidy
This commit is contained in:
Brian Anderson 2012-04-09 18:04:37 -07:00
parent 24e921f7d4
commit 92470336dd
1 changed files with 6 additions and 3 deletions

View File

@ -124,8 +124,6 @@ tidy:
@$(call E, check: formatting)
$(Q)echo \
$(wildcard $(S)src/etc/*.py) \
$(ALL_CS) \
$(ALL_HS) \
$(COMPILER_CRATE) \
$(COMPILER_INPUTS) \
$(CORELIB_CRATE) \
@ -138,10 +136,15 @@ tidy:
$(CARGO_INPUTS) \
$(RUSTDOC_CRATE) \
$(RUSTDOC_INPUTS) \
| xargs -n 10 python $(S)src/etc/tidy.py
| xargs -n 10 python $(S)src/etc/tidy.py
$(Q)echo \
$(ALL_TEST_INPUTS) \
| xargs -n 10 python $(S)src/etc/tidy.py
$(Q)echo \
$(ALL_CS) \
$(ALL_HS) \
| xargs -n 10 python $(S)src/etc/tidy.py
endif
######################################################################