This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,27 @@
Test that can fetch the sources from an external dir
$ . ./helpers.sh
$ mkdir foo
$ echo "y" > foo/x
$ make_lockdir
$ cat >dune.lock/test.pkg <<EOF
> (version 0.0.1)
> (source (copy $PWD/foo))
> (build
> (progn
> (run mkdir -p %{prefix}/bin)
> (run cp x %{prefix}/bin/x)))
> EOF
$ build_pkg test
$ show_pkg test
/source
/source/x
/target
/target/bin
/target/bin/x
/target/cookie