package mirage

  1. Overview
  2. Docs
module Dune = Functoria.Dune
module Info = Functoria.Info
module Install = Functoria.Install
module Action = Functoria.Action
module type TARGET = sig ... end

A Mirage target: target consists in multiple backends grouped together.

module Unix : sig ... end
module Xen : sig ... end
module Solo5 : sig ... end
val choose : Key.mode -> (module TARGET)
val dune : Info.t -> Dune.stanza list
val configure : Info.t -> unit Action.t
val build_context : ?build_dir:Fpath.t -> Info.t -> Dune.stanza list
val context_name : Info.t -> string
val packages : Key.mode -> Functoria.DSL.package list
val install : Info.t -> Install.t