Skip to content

Commit 2f4d381

Browse files
committed
format
1 parent e88894a commit 2f4d381

File tree

6 files changed

+65
-53
lines changed

6 files changed

+65
-53
lines changed

dune

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
21
(rule
32
(alias runtest)
4-
(deps (:readme README.md))
3+
(deps
4+
(:readme README.md))
55
(package printbox-text)
6-
(action (progn
7-
(run ocaml-mdx test %{readme})
8-
(diff? %{readme} %{readme}.corrected))))
6+
(action
7+
(progn
8+
(run ocaml-mdx test %{readme})
9+
(diff? %{readme} %{readme}.corrected))))

examples/dune

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
(executable
2-
(name lambda)
3-
(libraries printbox printbox-text)
4-
(modules lambda)
5-
)
2+
(name lambda)
3+
(libraries printbox printbox-text)
4+
(modules lambda))

src/dune

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(library
2-
(name printbox)
3-
(public_name printbox)
4-
(wrapped false)
5-
(flags :standard -warn-error -a+8 -safe-string))
2+
(name printbox)
3+
(public_name printbox)
4+
(wrapped false)
5+
(flags :standard -warn-error -a+8 -safe-string))

src/printbox-html/dune

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
21
(library
3-
(name printbox_html)
4-
(public_name printbox-html)
5-
(wrapped false)
6-
(flags :standard -w +a-3-4-44-29 -safe-string)
7-
(libraries printbox tyxml))
2+
(name printbox_html)
3+
(public_name printbox-html)
4+
(wrapped false)
5+
(flags :standard -w +a-3-4-44-29 -safe-string)
6+
(libraries printbox tyxml))

src/printbox-text/dune

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
21
(library
3-
(name printbox_text)
4-
(public_name printbox-text)
5-
(wrapped false)
6-
(flags :standard -w +a-3-4-44-29 -safe-string)
7-
(libraries printbox uutf uucp))
2+
(name printbox_text)
3+
(public_name printbox-text)
4+
(wrapped false)
5+
(flags :standard -w +a-3-4-44-29 -safe-string)
6+
(libraries printbox uutf uucp))

test/dune

Lines changed: 42 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,59 @@
1-
21
(executables
3-
(names test1 test_ann_0_3 test_blending test_html)
4-
(libraries printbox printbox-text printbox-html))
2+
(names test1 test_ann_0_3 test_blending test_html)
3+
(libraries printbox printbox-text printbox-html))
54

65
(rule
7-
(targets test1.output)
8-
(package printbox-text)
9-
(action (with-stdout-to %{targets} (run ./test1.exe))))
6+
(targets test1.output)
7+
(package printbox-text)
8+
(action
9+
(with-stdout-to
10+
%{targets}
11+
(run ./test1.exe))))
1012

1113
(rule
12-
(alias runtest)
13-
(package printbox-text)
14-
(action (diff test1.expected test1.output)))
14+
(alias runtest)
15+
(package printbox-text)
16+
(action
17+
(diff test1.expected test1.output)))
1518

1619
(rule
17-
(targets test_ann_0_3.output)
18-
(package printbox-text)
19-
(action (with-stdout-to %{targets} (run ./test_ann_0_3.exe))))
20+
(targets test_ann_0_3.output)
21+
(package printbox-text)
22+
(action
23+
(with-stdout-to
24+
%{targets}
25+
(run ./test_ann_0_3.exe))))
2026

2127
(rule
22-
(alias runtest)
23-
(package printbox-text)
24-
(action (diff test_ann_0_3.expected test_ann_0_3.output)))
28+
(alias runtest)
29+
(package printbox-text)
30+
(action
31+
(diff test_ann_0_3.expected test_ann_0_3.output)))
2532

2633
(rule
27-
(targets test_blending.output)
28-
(package printbox-text)
29-
(action (with-stdout-to %{targets} (run ./test_blending.exe))))
34+
(targets test_blending.output)
35+
(package printbox-text)
36+
(action
37+
(with-stdout-to
38+
%{targets}
39+
(run ./test_blending.exe))))
3040

3141
(rule
32-
(alias runtest)
33-
(package printbox-text)
34-
(action (diff test_blending.expected test_blending.output)))
35-
42+
(alias runtest)
43+
(package printbox-text)
44+
(action
45+
(diff test_blending.expected test_blending.output)))
3646

3747
(rule
38-
(targets test_html.output)
39-
(package printbox-html)
40-
(action (with-stdout-to %{targets} (run ./test_html.exe))))
48+
(targets test_html.output)
49+
(package printbox-html)
50+
(action
51+
(with-stdout-to
52+
%{targets}
53+
(run ./test_html.exe))))
4154

4255
(rule
43-
(alias runtest)
44-
(package printbox-html)
45-
(action (diff test_html.expected test_html.output)))
56+
(alias runtest)
57+
(package printbox-html)
58+
(action
59+
(diff test_html.expected test_html.output)))

0 commit comments

Comments
 (0)