This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
$ touch foo.ml
|
||||
$ cat > dune-project<<EOF
|
||||
> (lang dune 1.1)
|
||||
> (package (name foo))
|
||||
> EOF
|
||||
$ cat > dune <<EOF
|
||||
> (executable (public_name foo))
|
||||
> EOF
|
||||
$ export DUNE_BUILD_DIR=$(mktemp -d -t github2629XXXXXX);
|
||||
> dune build @install;
|
||||
> cat $DUNE_BUILD_DIR/default/foo.install | sed s#$DUNE_BUILD_DIR#DUNE_BUILD_DIR#g;
|
||||
> dune install --dry-run --prefix lib/foo
|
||||
lib: [
|
||||
"DUNE_BUILD_DIR/install/default/lib/foo/META"
|
||||
"DUNE_BUILD_DIR/install/default/lib/foo/dune-package"
|
||||
]
|
||||
bin: [
|
||||
"DUNE_BUILD_DIR/install/default/bin/foo"
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue