mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/install-dir/install-docdir.t
2025-11-11 02:07:51 +01:00

14 lines
562 B
Perl

$ echo "(lang dune 2.0)" > dune-project
$ touch foo.opam docfile
$ cat >dune <<EOF
> (install
> (section doc)
> (files docfile))
> EOF
$ dune build @install
$ mkdir install docdir
$ dune install --dry-run --prefix ./install --docdir $PWD/docdir --display short 2>&1 | grep docdir
Removing (if it exists) $TESTCASE_ROOT/docdir/foo/docfile
Installing $TESTCASE_ROOT/docdir/foo/docfile
Creating directory $TESTCASE_ROOT/docdir/foo
Copying _build/install/default/doc/foo/docfile to $TESTCASE_ROOT/docdir/foo/docfile (executable: false)