Debian Codegraph @

test/blackbox-tests/test-cases/promote/disable-promotion.t/run.t

raw
1 This tests shows how all promotion to the source dir may be disabled. This
2 includes .install files and manually promoted executables
3
4 $ dune build -p foo --disable-promotion
5
6 foo.exe and foo.install are absent
7 $ test -f foo.exe && echo "foo.exe exists"
8 [1]
9 $ test -f foo.install && echo "foo.install exists"
10 [1]
11
12 now we build without the option and see that they are present:
13 $ dune build -p foo
14
15 $ test -f foo.exe && echo "foo.exe exists"
16 foo.exe exists
17 $ test -f foo.install && echo "foo.install exists"
18 foo.install exists