package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

Dune Dependency

Authors

Maintainers

Sources

b0-0.0.4.tbz
sha512=665735c8b7a8674201be765bdd676a18d1e38eff35de9d44c3dc15e2bfed2247e8963c9a32ae62d9ca2d6cd1edebd849aac29fdd5a846c14a30feea3edfc0601

doc/b0.b00/B00/Env/index.html

Module B00.Env

Build environment.

Build environments specify the environment of tool spawns.

TODO Now that tool lookup moved to Memo, is it still worth sense to have that separate ?

Environment

type t

The type for build environments.

val v : ?forced_env:B00_std.Os.Env.t -> B00_std.Os.Env.t -> t

v ~lookup ~forced_env env is a build environment with:

  • forced_env is environment forced on any tool despite what it declared to access, defaults to B00_std.Os.Env.empty
  • env the environment read by the tools' declared environment variables.
val env : t -> B00_std.Os.Env.t

env e is e's available spawn environment.

val forced_env : t -> B00_std.Os.Env.t

forced_env e is e's forced spawn environment.

OCaml

Innovation. Community. Security.