mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/dune-project-meta/fresh-build.t

25 lines
576 B
Perl
Raw Normal View History

2025-11-11 02:07:51 +01:00
Building the .install file should not depend on foo.opam being present in the
source tree if (generate_opam_files true) is enabled.
$ cat >dune-project <<EOF
> (lang dune 3.8)
> (package
> (name foo))
> (generate_opam_files true)
> EOF
$ cat >dune <<EOF
> (install
> (section share)
> (files dune))
> EOF
$ dune build foo.install
$ grep opam _build/default/foo.install
"_build/install/default/lib/foo/opam"
$ dune build @check
$ dune build foo.install
$ grep opam _build/default/foo.install
"_build/install/default/lib/foo/opam"