module OASISPlugin:sig..end
The whole module is not exported.
Author(s): Sylvain Le Gall
module MapPlugin:OASISUtils.MapExt.Swith type key = plugin_kind plugin
module SetPlugin:OASISUtils.SetExt.Swith type elt = plugin_kind plugin
val mem_no_version : OASISTypes.plugin_kind OASISTypes.plugin -> SetPlugin.t -> bool
type'asetter =OASISTypes.plugin_data Pervasives.ref -> 'a -> unit
type'agetter =OASISTypes.plugin_data Pervasives.ref -> 'a
type'aprop ='a setter * 'a getter
typemodul =string
type ('a, 'b) setup_changes = {
|
chng_moduls : |
(* |
OCaml module to be added to setup file
| *) |
|
chng_main : |
(* |
Main function to be added to BaseSetup.t (i.e. the one that
that really do something: configure, build, test...)
| *) |
|
chng_clean : |
(* |
Function to be called when cleaning
| *) |
|
chng_distclean : |
(* |
Function to be called when distcleaning
| *) |
type context_act = {
|
ctxt : |
(* |
Global context.
| *) |
|
update : |
(* |
What is the value given to -setup-update ?
| *) |
|
error : |
(* |
Are there errors?
| *) |
|
files : |
(* |
Generated files.
| *) |
|
other_actions : |
(* |
Extra actions.
| *) |
type('a, 'b)section_act =context_act ->
OASISTypes.package ->
OASISTypes.common_section * 'a ->
context_act *
(OASISTypes.package -> OASISTypes.common_section * 'a -> string array -> 'b,
OASISTypes.package -> OASISTypes.common_section * 'a -> string array -> unit)
setup_changes
typepackage_act =context_act ->
OASISTypes.package ->
context_act *
(OASISTypes.package -> string array -> unit,
OASISTypes.package -> string array -> unit)
setup_changes
type 'a t
typeall_t =OASISTypes.plugin_kind t
val register_quickstart_completion : all_t -> (OASISTypes.package -> OASISTypes.package) -> unitval quickstart_completion : OASISTypes.plugin_kind OASISTypes.plugin ->
OASISTypes.package -> OASISTypes.packageval register_generator_package : all_t -> 'a prop -> (PropList.Data.t -> 'a) -> unitval generator_package : OASISTypes.plugin_kind OASISTypes.plugin ->
OASISTypes.plugin_data Pervasives.ref -> PropList.Data.t -> unitval register_generator_section : OASISTypes.section_kind ->
all_t -> 'a prop -> (PropList.Data.t -> 'a) -> unitval generator_section : OASISTypes.section_kind ->
OASISTypes.plugin_kind OASISTypes.plugin ->
OASISTypes.plugin_data Pervasives.ref -> PropList.Data.t -> unitval ls : OASISTypes.plugin_kind -> OASISTypes.name listval all_plugins : unit -> OASISTypes.plugin_kind OASISTypes.plugin list
type help = {
|
help_template : |
|
help_order : |
val help_default : string list -> help
val register_help : [ `All | `Build | `Configure | `Doc | `Extra | `Install | `Test ]
OASISTypes.plugin -> help -> unitval help : [ `All ] OASISTypes.plugin -> helpval to_plugin : 'a t -> 'a OASISTypes.pluginmodule type PLUGINS =sig..end
module Configure:PLUGINSwith type act = package_act and type data = package and type kind = [`Configure]
module Build:PLUGINSwith type act = package_act and type data = package and type kind = [`Build]
module Doc:PLUGINSwith type act = (doc, unit) section_act and type data = common_section * doc and type kind = [`Doc]
module Test:PLUGINSwith type act = (test, float) section_act and type data = common_section * test and type kind = [`Test]
module Install:PLUGINSwith type act = package_act * package_act and type data = package and type kind = [`Install]
module Extra:PLUGINSwith type act = context_act -> package -> context_act and type data = package and type kind = [`Extra]
val test_field_name : string -> boolval builtin : 'a -> OASISTypes.name -> 'a OASISTypes.pluginval add_file : OASISFileTemplate.template ->
context_act -> context_actval set_error : bool -> string -> context_act -> context_actval plugin_of_string : 'a -> string -> 'a OASISTypes.pluginval plugins_of_string : 'a -> string -> 'a OASISTypes.plugin listval string_of_plugin : 'a OASISTypes.plugin -> stringval plugin_compare : 'a OASISTypes.plugin -> 'a OASISTypes.plugin -> intval plugin_equal : 'a OASISTypes.plugin -> 'a OASISTypes.plugin -> boolOASISPlugin.plugin_compare.val data_create : unit -> OASISTypes.plugin_data Pervasives.refval data_new_property : ?purpose:OASISTypes.plugin_data_purpose ->
OASISTypes.plugin_kind OASISTypes.plugin -> 'a propdata_new_property plg Create a property that can store plugin data. Beware
that the the couple (plg, purpose) must be unique.purpose : An identifier to make possible the use of several properties
for the same plugin. If not defined, it is derived from the
kind of plugin.