File tree Expand file tree Collapse file tree 1 file changed +20
-17
lines changed Expand file tree Collapse file tree 1 file changed +20
-17
lines changed Original file line number Diff line number Diff line change @@ -80,24 +80,27 @@ check-fast: tidy \
80
80
test/$(FT_DRIVER ) .out
81
81
82
82
# Run the tidy script in multiple parts to avoid huge 'echo' commands
83
+ ifdef CFG_NOTIDY
83
84
tidy :
84
- @$(call E, check: formatting)
85
- $(Q ) echo \
86
- $(addprefix $(S ) src/, $(RUSTLLVM_LIB_CS ) $(RUSTLLVM_OBJS_CS ) \
87
- $(RUSTLLVM_HDR ) \
88
- $(RUNTIME_CS) $(RUNTIME_HDR) $(RUNTIME_S)) \
89
- $(wildcard $(S)src/etc/*.py) \
90
- $(COMPILER_CRATE) \
91
- $(COMPILER_INPUTS) \
92
- $(STDLIB_CRATE) \
93
- $(STDLIB_INPUTS) \
94
- $(COMPILETEST_CRATE) \
95
- $(COMPILETEST_INPUTS) \
96
- | xargs -n 10 python $(S)src/etc/tidy.py
97
- $(Q)echo \
98
- $(ALL_TEST_INPUTS) \
99
- | xargs -n 10 python $(S)src/etc/tidy.py
100
-
85
+ else
86
+ tidy :
87
+ @$(call E, check: formatting)
88
+ $(Q ) echo \
89
+ $(addprefix $(S ) src/, $(RUSTLLVM_LIB_CS ) $(RUSTLLVM_OBJS_CS ) \
90
+ $(RUSTLLVM_HDR ) \
91
+ $(RUNTIME_CS) $(RUNTIME_HDR) $(RUNTIME_S)) \
92
+ $(wildcard $(S)src/etc/*.py) \
93
+ $(COMPILER_CRATE) \
94
+ $(COMPILER_INPUTS) \
95
+ $(STDLIB_CRATE) \
96
+ $(STDLIB_INPUTS) \
97
+ $(COMPILETEST_CRATE) \
98
+ $(COMPILETEST_INPUTS) \
99
+ | xargs -n 10 python $(S)src/etc/tidy.py
100
+ $(Q)echo \
101
+ $(ALL_TEST_INPUTS) \
102
+ | xargs -n 10 python $(S)src/etc/tidy.py
103
+ endif
101
104
102
105
# #####################################################################
103
106
# Rules for the test runners
You can’t perform that action at this time.
0 commit comments