This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
```ocaml
|
||||
This isn't valid OCaml, so running MDX would fail.
|
||||
```
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(mdx
|
||||
(files README.md)
|
||||
(packages pkg))
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(lang dune 2.4)
|
||||
(name pkg)
|
||||
|
||||
(using mdx 0.1)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(library
|
||||
(name public_lib)
|
||||
(public_name pkg))
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
Dune does not fail if the `packages` are not available at evaluation time
|
||||
(regression test fixed by ocaml/dune#3650)
|
||||
|
||||
$ dune build -p unrelated-package
|
||||
|
||||
Dune fails if the `packages` are not available at execution time
|
||||
|
||||
$ dune runtest -p unrelated-package
|
||||
File "dune", line 3, characters 11-14:
|
||||
3 | (packages pkg))
|
||||
^^^
|
||||
Error: Package pkg does not exist
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue