Revision ca7ff3f7
Added by Lélio Brun over 1 year ago
src/utils/dune | ||
---|---|---|
3 | 3 |
(rule |
4 | 4 |
(target ocaml_utils.ml) |
5 | 5 |
(deps ocaml_utils.ml.lt403) |
6 |
(action (copy %{deps} %{target})) |
|
7 |
(enabled_if (< %{ocaml_version} 4.0.3))) |
|
6 |
(action |
|
7 |
(copy %{deps} %{target})) |
|
8 |
(enabled_if |
|
9 |
(< %{ocaml_version} 4.0.3))) |
|
10 |
|
|
8 | 11 |
(rule |
9 | 12 |
(target ocaml_utils.ml) |
10 | 13 |
(deps ocaml_utils.ml.ge403) |
11 |
(action (copy %{deps} %{target})) |
|
12 |
(enabled_if (>= %{ocaml_version} 4.0.3))) |
|
14 |
(action |
|
15 |
(copy %{deps} %{target})) |
|
16 |
(enabled_if |
|
17 |
(>= %{ocaml_version} 4.0.3))) |
|
13 | 18 |
|
14 | 19 |
; (library |
15 | 20 |
; (name utils) |
Also available in: Unified diff
reformatting