Skip to content

Commit cdf51ce

Browse files
committed
dune
1 parent c5aa6c5 commit cdf51ce

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

test/direct/dune

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11

2-
(test
2+
(executable
33
(name main)
4-
(package lwt_direct)
5-
(build_if (>= %{ocaml_version} "5.0"))
4+
(enabled_if (>= %{ocaml_version} "5.0"))
65
(libraries lwt_direct lwt.unix lwttester))
6+
7+
(rule
8+
(alias runtest)
9+
(package lwt_direct)
10+
(enabled_if (>= %{ocaml_version} "5.0"))
11+
(action (run ./main.exe)))
12+

0 commit comments

Comments
 (0)