package oasis

  1. Overview
  2. Docs
Tooling for building OCaml libraries and applications

Install

Dune Dependency

Authors

Maintainers

Sources

oasis-0.4.11.tar.gz
sha256=18b73deef4ed6e9a83337f24b3bbe2ded65268b3ff7309fcc00d25e57e1dc12e
md5=98492f4657c2c5b30e3b1bc945e58419

doc/oasis.base/BaseBuilt/index.html

Module BaseBuilt

Register files built to be installed

  • author Sylvain Le Gall
type t =
  1. | BExec
  2. | BExecLib
  3. | BLib
  4. | BObj
  5. | BDoc
val register : ctxt:OASISContext.t -> t -> OASISTypes.name -> OASISTypes.host_filename list list -> unit

Register files built. Each files built is provided as a list of alternatives. At least one alternative file should exist when registering and we only register existing ones.

val unregister : ctxt:OASISContext.t -> t -> OASISTypes.name -> unit

Unregister all files built.

val fold : ctxt:OASISContext.t -> t -> OASISTypes.name -> ('a -> OASISTypes.host_filename -> 'a) -> 'a -> 'a

Fold-left files built, filter existing and non-existing files.

val is_built : ctxt:OASISContext.t -> t -> OASISTypes.name -> bool

Check if a library/object/doc/exec has been built.

of_executable loc_fn (cs, bs, exec) Compute at the same time events that should be registered by register and data returned by OASISExecutable.unix_exec_is. Use loc_fn, if generated files are moved to a directory different from sources (e.g. in directory "_build").

OCaml

Innovation. Community. Security.