Skip to content

Commit 135f46a

Browse files
author
Nathan Rebours
committed
Attach ocp-indent rules to @fmt rather than @indent
Signed-off-by: Nathan Rebours <[email protected]>
1 parent 754f4c3 commit 135f46a

File tree

8 files changed

+7
-8
lines changed

8 files changed

+7
-8
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
- run: opam install . --deps-only -t
4242
- run: opam exec -- dune runtest
4343
- run: opam exec -- dune build @fmt
44-
- run: opam exec -- dune build @indent
4544
- run: opam config report
4645
- run: opam install .
4746
- run: opam exec ocp-indent --help

src/ocp-indent-dynlink/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
(wrapped false)
55
(libraries findlib dynlink ocp-indent.lexer ocp-indent.utils))
66

7-
;; Auto indent files with `dune build @indent`
7+
;; Auto indent files with `dune build @fmt`
88

99
(subdir
1010
run

src/ocp-indent-gen-rules/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(name main)
33
(public_name ocp-indent-gen-rules))
44

5-
;; Auto indent files with `dune build @indent`
5+
;; Auto indent files with `dune build @fmt`
66

77
(subdir
88
run

src/ocp-indent-gen-rules/main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let print_rules file =
2121
pf " (action (run ocp-indent %%{dep:../%s} -o %%{target})))" file;
2222
pf "";
2323
pf "(rule";
24-
pf " (alias indent)";
24+
pf " (alias fmt)";
2525
pf " (action (diff ../%s %s.%s)))" file file formatted_ext;
2626
pf ""
2727
| _ -> ()

src/ocp-indent-lexer/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
(public_name ocp-indent.lexer)
66
(wrapped false))
77

8-
;; Auto indent files with `dune build @indent`
8+
;; Auto indent files with `dune build @fmt`
99

1010
(subdir
1111
run

src/ocp-indent-lib/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
(libraries ocp-indent.utils)
66
(flags :standard -w -9 -warn-error -57))
77

8-
;; Auto indent files with `dune build @indent`
8+
;; Auto indent files with `dune build @fmt`
99

1010
(subdir
1111
run

src/ocp-indent-utils/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
(wrapped false)
55
(libraries ocp-indent.lexer))
66

7-
;; Auto indent files with `dune build @indent`
7+
;; Auto indent files with `dune build @fmt`
88

99
(subdir
1010
run

src/ocp-indent/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
(libraries cmdliner ocp-indent.lexer ocp-indent.lib ocp-indent.dynlink unix)
1313
(flags :standard -w -9))
1414

15-
;; Auto indent files with `dune build @indent`
15+
;; Auto indent files with `dune build @fmt`
1616

1717
(subdir
1818
run

0 commit comments

Comments
 (0)