package oasis

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Functions common to OCamlbuild build and doc plugin

type extra_args = string list
val ocamlbuild_clean_ev : string
val ocamlbuildflags : unit -> string
val fix_args : string list -> string array -> string list

Fix special arguments depending on environment

val run_clean : ctxt:OASISContext.t -> OASISTypes.arg array -> unit

Run 'ocamlbuild -clean' if not already done

val run_ocamlbuild : ctxt:OASISContext.t -> OASISTypes.arg list -> OASISTypes.arg array -> unit

Run ocamlbuild, unregister all clean events

val build_dir : string array -> string

Determine real build directory

module Tag : sig ... end
val check_ocaml_version : string -> OASISTypes.package -> bool

Check OCaml version constraint defined in _oasis.

val ocamlbuild_more_args : OASISFeatures.t
val ocamlbuild_supports_ocamlfind : OASISTypes.package -> bool
val ocamlbuild_supports_plugin_tags : OASISTypes.package -> bool
type ocamlbuild_common = {
  1. plugin_tags : string option;
  2. extra_args : string list;
}
val extra_args_ocamlbuild_common : OASISPlugin.context_act -> OASISTypes.package -> ocamlbuild_common -> string list * OASISPlugin.context_act
OCaml

Innovation. Community. Security.