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,5 @@
(library
(name bar)
(public_name bar))
(copy_files foo/*)

View file

@ -0,0 +1,4 @@
(alias
(name print-contents-of-x)
(deps x (universe))
(action (echo "%{read:x}")))

View file

@ -0,0 +1,14 @@
There are some install rules, and there is also some globbing.
This can create a dependency cycle if "install rules" try to
produce targets in the directory being globbed.
(install rules depend on library artifacts, which in turn depend
on the directory listing)
$ dune build @install
Check that the command did build things:
$ ls _build/install/default/lib/bar/*.cmxa
_build/install/default/lib/bar/bar.cmxa