package functoria

  1. Overview
  2. Docs

Information about the final application.

type t

The type for information about the final application.

val name : t -> string

name t is the name of the application.

val root : t -> string

Directory in which the configuration is done.

val libraries : t -> string list

OCamlfind libraries needed by the project.

val packages : t -> string list

OPAM packages needed by the project.

val keys : t -> key list

Keys declared by the project.

val context : t -> context

parsed t is a value representing the command-line argument being parsed.

val create : ?packages:string list -> ?libraries:string list -> ?keys:key list -> context:context -> name:string -> root:string -> t

create context n r contains information about the application being built.

val pp : bool -> t Fmt.t
OCaml

Innovation. Community. Security.