This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
(executable
|
||||
(name foo)
|
||||
(public_name foo)
|
||||
(promote (until-clean)))
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(lang dune 1.11)
|
||||
|
||||
(package
|
||||
(name foo))
|
||||
|
|
@ -0,0 +1 @@
|
|||
print_endline "Hello Caml"
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
This tests shows how all promotion to the source dir may be disabled. This
|
||||
includes .install files and manually promoted executables
|
||||
|
||||
$ dune build -p foo --disable-promotion
|
||||
|
||||
foo.exe and foo.install are absent
|
||||
$ test -f foo.exe && echo "foo.exe exists"
|
||||
[1]
|
||||
$ test -f foo.install && echo "foo.install exists"
|
||||
[1]
|
||||
|
||||
now we build without the option and see that they are present:
|
||||
$ dune build -p foo
|
||||
|
||||
$ test -f foo.exe && echo "foo.exe exists"
|
||||
foo.exe exists
|
||||
$ test -f foo.install && echo "foo.install exists"
|
||||
foo.install exists
|
||||
Loading…
Add table
Add a link
Reference in a new issue