Skip to content

Commit

Permalink
Ignore xfail-pretty, xfail-stage2 files when reformatting
Browse files Browse the repository at this point in the history
We shouldn't be trying to reformat source that we don't know to work because
we could just be breaking it more.
  • Loading branch information
brson committed Aug 3, 2011
1 parent 6360082 commit 92a4c0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mk/pp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ else
$(S)src/test/*/*/*.rs) \
$(wildcard $(S)src/fuzzer/*.rs)

PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS) | xargs grep -L no-reformat)
PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS) | xargs grep -L \
"no-reformat\|xfail-pretty\|xfail-stage2")
endif

reformat: $(SREQ1)
Expand Down

0 comments on commit 92a4c0c

Please sign in to comment.