mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/pkg/exclusively-extra-sources.t
2025-11-11 02:07:51 +01:00

24 lines
401 B
Raku

Test for packages with no source field but with extra_sources.
$ . ./helpers.sh
$ make_lockdir
$ cat > dune.lock/foo.pkg <<EOF
> (version 1)
> (extra_sources
> (foo.txt
> (fetch
> (url file://$PWD/foo.txt))))
> EOF
$ touch foo.txt
$ cat > dune-project <<EOF
> (lang dune 3.16)
> (package
> (allow_empty)
> (name a)
> (depends foo))
> EOF
$ dune build