mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-05-05 08:54:27 -04:00
more robust dune rule
This commit is contained in:
parent
ad4e889a95
commit
f32199f2c8
1 changed files with 6 additions and 2 deletions
|
|
@ -28,12 +28,16 @@
|
|||
|
||||
(rule
|
||||
(enabled_if
|
||||
(>= %{version:lwt} 6.0))
|
||||
(and
|
||||
%{lib-available:lwt}
|
||||
(>= %{version:lwt} 6.0)))
|
||||
(action
|
||||
(copy types_.ml.6 types_.ml)))
|
||||
|
||||
(rule
|
||||
(enabled_if
|
||||
(< %{version:lwt} 6.0))
|
||||
(and
|
||||
%{lib-available:lwt}
|
||||
(< %{version:lwt} 6.0)))
|
||||
(action
|
||||
(copy types_.ml.5 types_.ml)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue