Industrial strength, full-featured build system
Module Jenga_lib . Build . Jr_spec
type t =
| In_root_dir
| Path of Path.t
| Env of unit -> Env.t Async.Deferred.t

A t represents the various ways to find the specifications of the rules:

  • In_root_dir means to look for jenga.conf or in the root directory (as specified in, and load it. is compiled directly, and is expected to have the interface described in jenga.conf is expected to contain an s-expression like "(modules (", and then the given ml-files are loaded in that order and the last one is expected to have the same interface as the
  • Path is like In_root_dir, but the ml files are looked up in the given directory rather than at the root
  • Env allows to give a value directly, and so it can be used to link the rules statically into jenga, as opposed to dynamically in the previous two cases.