This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
(alias
|
||||
(name default)
|
||||
(action (run ./impl/bin/foo.exe)))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.7)
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
(executable
|
||||
(name foo)
|
||||
(libraries impl_wrapped))
|
||||
|
||||
(alias
|
||||
(name default)
|
||||
(action (run ./foo.exe)))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.7)
|
||||
|
|
@ -0,0 +1 @@
|
|||
Vlib_more.run ();;
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
(library
|
||||
(name impl)
|
||||
(public_name impl_wrapped)
|
||||
(implements vlib_wrapped))
|
||||
|
||||
(alias
|
||||
(name default)
|
||||
(action (run ./bin/foo.exe)))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.7)
|
||||
|
|
@ -0,0 +1 @@
|
|||
let run () = print_endline "running implementation"
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
Unwrapped virtual library
|
||||
$ dune build
|
||||
Running from vlib_more
|
||||
running implementation
|
||||
|
||||
Unwrapped virtual library
|
||||
$ dune build @install --root vlib
|
||||
Entering directory 'vlib'
|
||||
Leaving directory 'vlib'
|
||||
$ env OCAMLPATH=vlib/_build/install/default/lib dune build --root impl --debug-dependency-path
|
||||
Entering directory 'impl'
|
||||
Running from vlib_more
|
||||
running implementation
|
||||
Leaving directory 'impl'
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
(library
|
||||
(name vlib)
|
||||
(public_name vlib_wrapped)
|
||||
(wrapped false)
|
||||
(virtual_modules vlib))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.7)
|
||||
|
|
@ -0,0 +1 @@
|
|||
val run : unit -> unit
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
let run () =
|
||||
print_endline "Running from vlib_more";
|
||||
Vlib.run ()
|
||||
Loading…
Add table
Add a link
Reference in a new issue