Skip to content

Commit 9247033

Browse files
committed
build: Split up tidy command further to make arg list shorter
Distcheck was failing on the linux bots - too many arguments to tidy
1 parent 24e921f commit 9247033

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

mk/tests.mk

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ tidy:
124124
@$(call E, check: formatting)
125125
$(Q)echo \
126126
$(wildcard $(S)src/etc/*.py) \
127-
$(ALL_CS) \
128-
$(ALL_HS) \
129127
$(COMPILER_CRATE) \
130128
$(COMPILER_INPUTS) \
131129
$(CORELIB_CRATE) \
@@ -138,10 +136,15 @@ tidy:
138136
$(CARGO_INPUTS) \
139137
$(RUSTDOC_CRATE) \
140138
$(RUSTDOC_INPUTS) \
141-
| xargs -n 10 python $(S)src/etc/tidy.py
139+
| xargs -n 10 python $(S)src/etc/tidy.py
142140
$(Q)echo \
143141
$(ALL_TEST_INPUTS) \
144142
| xargs -n 10 python $(S)src/etc/tidy.py
143+
$(Q)echo \
144+
$(ALL_CS) \
145+
$(ALL_HS) \
146+
| xargs -n 10 python $(S)src/etc/tidy.py
147+
145148
endif
146149

147150
######################################################################

0 commit comments

Comments
 (0)