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