package topkg-care

  1. Overview
  2. Docs
The transitory OCaml software packager

Install

Dune Dependency

Authors

Maintainers

Sources

topkg-1.0.8.tbz
sha512=4b632b60137852bb72ff9c8cdc2e16ac5ece6473569e50963fef9c1e800a0933a516bea1107b04011645afa4a1e78893c82dbce0aa8de2970d4d6c6d0dd2fe02

doc/topkg_care/Topkg_care/OCamlbuild/index.html

Module Topkg_care.OCamlbuild

ocamlbuild helpers.

Command

val cmd : Bos_setup.Cmd.t

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.result

packages ~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.

OCaml

Innovation. Community. Security.