package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

Dune Dependency

Authors

Maintainers

Sources

b0-0.0.1.tbz
sha256=dba2fc571f39f3b8e87ee55c77bdec7ec6a5ddc7d99b8b20aeda848af546be04
md5=51ee1d66acc4d7f87bdceac1341b7711

doc/b0.b0/B0_build/Unit/index.html

Module B0_build.Unit

Built units.

Unit operations

val current : t -> B0_unit.t

current b is b's current unit. In the procedure of build unit that is the unit itself.

val require : t -> B0_unit.t -> unit

require_unit b u asks to build unit u in b. This fails the fiber if b is locked and u not part of the initial units.

Directories

val build_dir : t -> B0_unit.t -> B00_std.Fpath.t

build_dir b u is the build directory for the build unit u. This is where u should write is build artefacts.

val root_dir : t -> B0_unit.t -> B00_std.Fpath.t

root_dir b u is the directory of the B0 file in which u was defined. This is were unit relative paths like source files should be resolved.

OCaml

Innovation. Community. Security.