This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.0)
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(library
|
||||
(name foobar_impl)
|
||||
(wrapped false)
|
||||
(public_name foobar.impl))
|
||||
|
||||
(rule (copy# %{lib:foobar:foobar.mli} foobar.mli))
|
||||
|
|
@ -0,0 +1 @@
|
|||
let foo = "testing"
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(library
|
||||
(name foobar)
|
||||
(modules_without_implementation foobar)
|
||||
(public_name foobar))
|
||||
|
|
@ -0,0 +1 @@
|
|||
val foo : string
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
Regression test for installing mli only modules. Previously, the install step
|
||||
would fail because the .cmi wasn't correctly copied to the _build/install dir.
|
||||
|
||||
$ dune build @install
|
||||
$ dune runtest
|
||||
testing
|
||||
$ dune install --prefix ./installed --display short 2>&1 | grep -i cmi
|
||||
Installing installed/lib/foobar/foobar.cmi
|
||||
Installing installed/lib/foobar/impl/foobar.cmi
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(test
|
||||
(name test)
|
||||
(libraries foobar.impl))
|
||||
|
|
@ -0,0 +1 @@
|
|||
let () = print_endline "testing"
|
||||
Loading…
Add table
Add a link
Reference in a new issue