[sledge] Style: Autoformat dune-project and dune-workspace files

Reviewed By: ngorogiannis

Differential Revision: D22381646

fbshipit-source-id: fb6319b95
master
Josh Berdine 5 years ago committed by Facebook GitHub Bot
parent 7e77bad4d2
commit a366b388a9

@ -68,6 +68,9 @@ clean:
.PHONY: fmt
fmt:
-dune build @_build/debug/fmt --auto-promote 2>/dev/null
tmp=$(mktemp -t 'dune-format'); dune format-dune-file dune-project > tmp; mv -f tmp dune-project
tmp=$(mktemp -t 'dune-format'); dune format-dune-file ics/dune-project > tmp; mv -f tmp ics/dune-project
tmp=$(mktemp -t 'dune-format'); dune format-dune-file dune-workspace > tmp; mv -f tmp dune-workspace
clang-format -i model/llair_intrinsics.h model/cxxabi.cpp
${MAKE} -C test fmt

@ -5,6 +5,21 @@
; This source code is licensed under the MIT license found in the
; LICENSE file in the root directory of this source tree.
(context (opam (switch sledge) (name debug) (profile debug) (merlin)))
(context (opam (switch sledge) (name trace) (profile trace)))
(context (opam (switch sledge) (name release) (profile release)))
(context
(opam
(switch sledge)
(name debug)
(profile debug)
(merlin)))
(context
(opam
(switch sledge)
(name trace)
(profile trace)))
(context
(opam
(switch sledge)
(name release)
(profile release)))

Loading…
Cancel
Save