17 lines
314 B
Perl
17 lines
314 B
Perl
|
|
Use build paths in the install entries of a package
|
||
|
|
|
||
|
|
$ . ./helpers.sh
|
||
|
|
|
||
|
|
$ make_lockdir
|
||
|
|
|
||
|
|
$ cat >dune.lock/test.pkg <<EOF
|
||
|
|
> (version 0.0.1)
|
||
|
|
> (build
|
||
|
|
> (system "\| cat >test.install <<EOF
|
||
|
|
> "\| bin: [ "?_build/install/default/bin/foo" ]
|
||
|
|
> "\| EOF
|
||
|
|
> ))
|
||
|
|
> EOF
|
||
|
|
|
||
|
|
$ build_pkg test
|