This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
(executable
|
||||
(name foo)
|
||||
(libraries impl))
|
||||
|
||||
(alias
|
||||
(name default)
|
||||
(action (run ./foo.exe)))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.7)
|
||||
|
|
@ -0,0 +1 @@
|
|||
Vlib.run ();;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(library
|
||||
(name impl)
|
||||
(implements vlib))
|
||||
|
|
@ -0,0 +1 @@
|
|||
let run () = print_endline "running implementation"
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Virtual library with a single module
|
||||
$ dune build
|
||||
running implementation
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(library
|
||||
(name vlib)
|
||||
(virtual_modules vlib))
|
||||
|
|
@ -0,0 +1 @@
|
|||
val run : unit -> unit
|
||||
Loading…
Add table
Add a link
Reference in a new issue