Functoria.InfoInformation about the final application.
val config_file : t -> Fpath.tconfig_file t is the configuration file of the application.
val name : t -> stringname t is the name of the application.
val project_name : t -> stringproject_name t is the project name.
val main : t -> Fpath.tmain t is the name of the main application file.
with_output t o is similar to t but with the output set to Some o.
val libraries : t -> string listlibraries t are the direct OCamlfind dependencies.
val opam :
t ->
extra_repo:(string * string) list ->
install:Install.t ->
opam_name:string ->
Opam.topam scope t is t'opam file to install in the scope context.
val runtime_args : t -> Runtime_arg.t listruntime_args t is the list of command-line arguments which can be used to configure t at runtime.
parsed t is a value representing the command-line argument being parsed.
val v :
?config_file:Fpath.t ->
packages:Package.t list ->
local_libs:string list ->
keys:Key.t list ->
runtime_args:Runtime_arg.t list ->
context:Context.t ->
?configure_cmd:string ->
?pre_build_cmd:(Fpath.t option -> string) ->
?lock_location:(Fpath.t option -> string -> string) ->
build_cmd:(Fpath.t option -> string) ->
src:[ `Auto | `None | `Some of string ] ->
project_name:string ->
string ->
tcreate context n r contains information about the application being built.
val pp : bool -> t Fmt.t