From ce7a947be527060554750d144f1a9762fee06b2a Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Wed, 15 May 2019 10:05:44 -0700 Subject: [PATCH] [sledge] Refactor auto-formatting build Reviewed By: ngorogiannis Differential Revision: D15353717 fbshipit-source-id: f21398ca7 --- sledge/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sledge/Makefile b/sledge/Makefile index e74b85b70..6018ef8e9 100644 --- a/sledge/Makefile +++ b/sledge/Makefile @@ -8,6 +8,7 @@ default: exes EXES = src/sledge INSTALLS = sledge +FMTS = @_build/dev/src/fmt facebook/Makefile: -@${MAKE} -s -C ../facebook setup @@ -71,7 +72,7 @@ clean: .PHONY: fmt fmt: - dune build @_build/dev/src/fmt --auto-promote + dune build $(FMTS) --auto-promote ocamlformat -i src/version.ml.in $(DUNEINS) clang-format -i model/llair_intrinsics.h model/cxxabi.cpp