From 7674ca986200448c3131631fe2d09b5b9ea7a74d Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Sat, 16 May 2020 08:28:22 -0700 Subject: [PATCH] [ocamlformat] Exclude deadcode/dune.in from list of ocaml dune files Summary: infer/src/deadcode/dune.in is not an OCaml-syntax dune file, so exclude it from the list computed for use by the auto-formatter. Reviewed By: jvillard Differential Revision: D21583047 fbshipit-source-id: 13a99a89b --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 09c516680..a0e07b496 100644 --- a/Makefile +++ b/Makefile @@ -221,7 +221,7 @@ fb-setup: fmt: parallel $(OCAMLFORMAT_EXE) $(OCAMLFORMAT_ARGS) -i ::: $$(git diff --name-only --diff-filter=ACMRU $$(git merge-base origin/master HEAD) | grep "\.mli\?$$") -DUNE_ML:=$(shell find * -name 'dune*.in' | grep -v workspace | grep -v infer-source) +DUNE_ML:=$(shell find * -name 'dune*.in' | grep -v workspace | grep -v infer-source | grep -v infer/src/deadcode/dune.in) .PHONY: fmt_dune fmt_dune: