Drom_lib.Types
type dependency = {
depversions : version list;
depname : string option;
deptest : bool;
depdoc : bool;
depopt : bool;
dep_pin : string option;
}
type package = {
name : string;
mutable dir : string;
mutable project : project;
mutable kind : kind;
mutable p_skeleton : string option;
mutable p_pack : string option;
mutable p_version : string option;
mutable p_synopsis : string option;
mutable p_description : string option;
mutable p_dependencies : (string * dependency) list;
mutable p_tools : (string * dependency) list;
mutable p_pack_modules : bool option;
mutable p_gen_version : string option;
mutable p_fields : string EzCompat.StringMap.t;
mutable p_generators : EzCompat.StringSet.t option;
mutable p_menhir : menhir option;
mutable p_file : string option;
mutable p_skip : string list option;
mutable p_optional : bool option;
mutable p_preprocess : string option;
}
and project = {
package : package;
mutable packages : package list;
mutable file : string option;
mutable generators : EzCompat.StringSet.t;
mutable menhir_version : string option;
mutable skeleton : string option;
project_drom_version : string;
edition : string;
min_edition : string;
github_organization : string option;
homepage : string option;
license : string;
copyright : string option;
bug_reports : string option;
dev_repo : string option;
doc_gen : string option;
doc_api : string option;
skip : string list;
archive : string option;
sphinx_target : string option;
odoc_target : string option;
ci_systems : string list;
skip_dirs : string list;
profiles : profile EzCompat.StringMap.t;
profile : string option;
version : string;
synopsis : string;
description : string;
mutable dependencies : (string * dependency) list;
mutable tools : (string * dependency) list;
mutable fields : string EzCompat.StringMap.t;
year : int;
mutable dune_version : string;
mutable project_create : bool;
}
type skeleton = {
skeleton_inherits : string option;
skeleton_toml : string list;
skeleton_files : (string * string * int) list;
skeleton_flags : flags EzCompat.StringMap.t;
skeleton_drom : bool;
skeleton_name : string;
skeleton_version : string;
}