This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue