This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
(executable
|
||||
(name main)
|
||||
(libraries foo))
|
||||
|
||||
(alias
|
||||
(name default)
|
||||
(action (run ./main.exe)))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.1)
|
||||
|
|
@ -0,0 +1 @@
|
|||
let () = print_endline Foo.x
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Test that include_subdirs stop the recursion
|
||||
--------------------------------------------
|
||||
|
||||
$ dune build
|
||||
Hello, world!
|
||||
|
|
@ -0,0 +1 @@
|
|||
let x = "world!"
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
(library (name foo))
|
||||
|
||||
(rule (with-stdout-to generated.ml (run gen/gen.exe)))
|
||||
|
||||
(include_subdirs unqualified)
|
||||
|
|
@ -0,0 +1 @@
|
|||
let x = Generated.x ^ Blah.x
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(executable (name gen))
|
||||
(include_subdirs no)
|
||||
|
|
@ -0,0 +1 @@
|
|||
let x = print_endline {|let x = "Hello, "|}
|
||||
Loading…
Add table
Add a link
Reference in a new issue