package topkg-care
The transitory OCaml software packager
Install
dune-project
Dependency
Authors
Maintainers
Sources
topkg-1.1.1.tbz
sha512=c36c549a362ddf5b7fe3f6ff91c79b7ab531c43633bb9737576370bcbd69db7e1625d247c278a869b503d45a175e9753231ccf595e5bfa4e3b7e2602ac3d3b42
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.