This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
(library
|
||||
(name privatelib)
|
||||
(modules privatelib))
|
||||
|
||||
(library
|
||||
(name publiclib)
|
||||
(public_name publiclib)
|
||||
(libraries privatelib)
|
||||
(modules publiclib))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.0)
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
public libraries may not have private dependencies
|
||||
|
||||
$ dune build
|
||||
File "dune", line 8, characters 12-22:
|
||||
8 | (libraries privatelib)
|
||||
^^^^^^^^^^
|
||||
Error: Library "privatelib" is private, it cannot be a dependency of a public
|
||||
library. You need to give "privatelib" a public name.
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue