package topkg-care
The transitory OCaml software packager
Install
dune-project
Dependency
Authors
Maintainers
Sources
topkg-1.1.0.tbz
sha512=34d22ae5b6bd166dd4a601a7d12d89c336684b3c56d7c7f481b40837eab263616cc3a6e6f63602f3d4a7d53c911967bf261de6c1ac205341b98a9838e5ea7aeb
doc/topkg_care/Topkg_care/OCamlbuild/index.html
Module Topkg_care.OCamlbuild
ocamlbuild helpers.
Command
cmd is a command for ocamlbuild looked up using Topkg.Conf.tool "ocamlbuild" `Host_os.
Packages
val package_tags :
?roots:bool ->
Fpath.t ->
(Bos_setup.String.set, Bos_setup.R.msg) Bos_setup.resultpackages ~roots f is the set of packages identifiers mentioned by the package tags of the _tags file f. If roots is true (defaults to false) only root packages, i.e. the identifier before the first '.', are in the set.
Warning. This is a very dumb parsing that simply looks up for all "package($ID)" and "package($ID0[, ]*$ID1...)" patterns in the _tags file.