This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,30 @@
|
|||
Additional files overlaid on top of the source can be found in the
|
||||
%pkg.files/ directory:
|
||||
|
||||
$ . ./helpers.sh
|
||||
|
||||
$ mkdir test-source
|
||||
$ touch test-source/foo
|
||||
|
||||
$ make_lockdir
|
||||
$ cat >dune.lock/test.pkg <<EOF
|
||||
> (version 0.0.1)
|
||||
> (source
|
||||
> (copy $PWD/test-source))
|
||||
> (build
|
||||
> (system "echo foo:; cat foo; echo bar:; cat bar"))
|
||||
> EOF
|
||||
|
||||
$ mkdir dune.lock/test.files
|
||||
$ cat >dune.lock/test.files/foo <<EOF
|
||||
> foo from test.files
|
||||
> EOF
|
||||
$ cat >dune.lock/test.files/bar <<EOF
|
||||
> bar from test.files
|
||||
> EOF
|
||||
|
||||
$ build_pkg test
|
||||
foo:
|
||||
foo from test.files
|
||||
bar:
|
||||
bar from test.files
|
||||
Loading…
Add table
Add a link
Reference in a new issue