File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change
1
+ # Create a way to reformat just some files
2
+ ifdef PPFILES
3
+ PP_INPUTS_FILTERED := $(wildcard $(PPFILES ) )
4
+ else
5
+ PP_INPUTS = $(wildcard $(addprefix $(S ) src/lib/,* .rs * /* .rs) ) \
6
+ $(wildcard $(addprefix $(S ) src/comp/,* .rs * /* .rs * /* /* .rs) ) \
7
+ $(wildcard $(S ) src/test/* /* .rs \
8
+ $(S ) src/test/* /* /* .rs) \
9
+ $(wildcard $(S ) src/fuzzer/* .rs)
1
10
2
- PP_INPUTS = $(wildcard $(addprefix $(S ) src/lib/,* .rs * /* .rs) ) \
3
- $(wildcard $(addprefix $(S ) src/comp/,* .rs * /* .rs * /* /* .rs) ) \
4
- $(wildcard $(S ) src/test/* /* .rs \
5
- $(S ) src/test/* /* /* .rs) \
6
- $(wildcard $(S ) src/fuzzer/* .rs)
7
-
8
- PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS ) | xargs grep -L no-reformat)
11
+ PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS ) | xargs grep -L no-reformat)
12
+ endif
9
13
10
14
reformat : $(SREQ1 )
11
15
@$(call E, reformat [stage1]: $@ )
You can’t perform that action at this time.
0 commit comments