File tree Expand file tree Collapse file tree 7 files changed +177
-120
lines changed Expand file tree Collapse file tree 7 files changed +177
-120
lines changed Original file line number Diff line number Diff line change 101
101
ocamlformat -i \
102
102
$$(find utils \
103
103
\( -name " *.ml" -or -name " *.mli" \) )
104
+ ocamlformat -i \
105
+ $$(find ocaml/utils \
106
+ \( -name " *.ml" -or -name " *.mli" \) )
104
107
105
108
.PHONY : check-fmt
106
109
check-fmt :
@@ -113,6 +116,7 @@ check-fmt:
113
116
[ "$$(git status --porcelain backend/cmm_helpers.ml{,i})" != "" ] || \
114
117
[ "$$(git status --porcelain backend/checkmach.ml{,i})" != "" ] || \
115
118
[ "$$(git status --porcelain tools/merge_archives.ml)" != "" ] || \
119
+ [ "$$(git status --porcelain ocaml/utils)" != "" ] || \
116
120
[ "$$(git status --porcelain utils)" != "" ]; then \
117
121
echo; \
118
122
echo "Tree must be clean before running 'make check-fmt'"; \
@@ -128,6 +132,7 @@ check-fmt:
128
132
[ "$$(git diff backend/cmm_helpers.ml{,i})" != "" ] || \
129
133
[ "$$(git diff backend/checkmach.ml{,i})" != "" ] || \
130
134
[ "$$(git diff tools/merge_archives.ml)" != "" ] || \
135
+ [ "$$(git diff ocaml/utils)" != "" ] || \
131
136
[ "$$(git diff utils)" != "" ]; then \
132
137
echo; \
133
138
echo "The following code was not formatted correctly:"; \
Original file line number Diff line number Diff line change
1
+ # Please make a pull request to change this file.
2
+ disable=true
3
+ # There is an .ocamlformat-enable file in this directory.
4
+ # Keep the remainder of this file in sync with other .ocamlformat files in this repo.
5
+ assignment-operator=begin-line
6
+ cases-exp-indent=2
7
+ doc-comments=before
8
+ dock-collection-brackets=false
9
+ if-then-else=keyword-first
10
+ module-item-spacing=sparse
11
+ parens-tuple=multi-line-only
12
+ sequence-blank-line=compact
13
+ space-around-lists=false
14
+ space-around-variants=false
15
+ type-decl=sparse
16
+ wrap-comments=true
17
+ version=0.24.1
Original file line number Diff line number Diff line change
1
+ compilation_unit.ml
2
+ compilation_unit.mli
You can’t perform that action at this time.
0 commit comments