This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,28 @@
|
|||
%{bin-available:...} should work without causing a dependency cycle in this
|
||||
situation. See #9187.
|
||||
|
||||
$ cat > dune-project << EOF
|
||||
> (lang dune 3.10)
|
||||
>
|
||||
> (package
|
||||
> (name p))
|
||||
> EOF
|
||||
|
||||
$ cat > dune << EOF
|
||||
> (executable
|
||||
> (public_name e)
|
||||
> (package p))
|
||||
>
|
||||
> (library
|
||||
> (package p)
|
||||
> (name l)
|
||||
> (modules))
|
||||
>
|
||||
> (rule
|
||||
> (enabled_if %{bin-available:e})
|
||||
> (action
|
||||
> (write-file aa x)))
|
||||
> EOF
|
||||
$ touch e.ml
|
||||
|
||||
$ dune build
|
||||
Loading…
Add table
Add a link
Reference in a new issue