package oasis
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=54bc4b80e4a38719124e8fb0125c6f3404bda514b87b8749b51442e023de998d
    
    
  md5=d848bac0234ed1849a9187d16630cda3
    
    
  doc/oasis.base/BaseSetup/index.html
Module BaseSetup
Entry points for 'setup.ml'
type std_args_fun =
  ctxt:OASISContext.t ->
  OASISTypes.package ->
  OASISTypes.arg array ->
  unittype ('a, 'b) section_args_fun =
  OASISTypes.name
  * (ctxt:OASISContext.t ->
  OASISTypes.package ->
  (OASISTypes.common_section * 'a) ->
  OASISTypes.arg array ->
  'b)type t = {- configure : std_args_fun;
- build : std_args_fun;
- doc : (OASISTypes.doc, unit) section_args_fun list;
- test : (OASISTypes.test, float) section_args_fun list;
- install : std_args_fun;
- uninstall : std_args_fun;
- clean : std_args_fun list;
- clean_doc : (OASISTypes.doc, unit) section_args_fun list;
- clean_test : (OASISTypes.test, unit) section_args_fun list;
- distclean : std_args_fun list;
- distclean_doc : (OASISTypes.doc, unit) section_args_fun list;
- distclean_test : (OASISTypes.test, unit) section_args_fun list;
- package : OASISTypes.package;
- oasis_fn : string option;(*- Filename of _oasis that matches the package field. *)
- oasis_version : string;(*- OASIS version that has generated this structure. *)
- oasis_digest : Digest.t option;(*- Digest of _oasis that matches the package field. *)
- oasis_exec : string option;(*- Name of oasis executable to use, only for testing. *)
- oasis_setup_args : string list;(*- Args to use when updating the setup.ml. *)
- setup_update : bool;(*- Are we allowed to update the setup.ml (eq. of -setup-update weak). *)
}val configure : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitRun the configure step.
val build : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitRun the build step.
val doc : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitRun the doc step: build all documents.
val test : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitRun the test step: run all tests.
val install : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitRun the install step.
val uninstall : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitRun the uninstall step.
val clean : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitRun the clean step.
val distclean : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitRun the distclean step.
val reinstall : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitRun the reinstall step: deinstall and install.
val all : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitRun all steps: configure, build, doc, test and install.
val version : ctxt:OASISContext.t -> t -> OASISTypes.arg array -> unitDisplay OASIS version used to generate this setup.ml.
val setup : t -> unitThe first function called when running 'setup.ml'.
val default_oasis_fn : OASISTypes.host_filenameDefault filename for '_oasis'.
val default_filename : OASISTypes.host_filenameDefault filename for 'setup.ml'. Not exported
val find : OASISPlugin.context_act -> OASISFileTemplate.templateGet template 'setup.ml' file out of the plugin context. Not exported.
val of_package : 
  ?ctxt:OASISContext.t ->
  ?oasis_fn:OASISTypes.host_filename ->
  ?oasis_exec:OASISTypes.host_filename ->
  ?oasis_setup_args:string list ->
  setup_update:bool ->
  OASISSetupUpdate.t ->
  OASISTypes.package ->
  OASISPlugin.context_act * tCreate t and plugin context from an OASIS package and the matching _oasis. Not exported.