package dune-private-libs

  1. Overview
  2. Docs

Module Meta_parser.MakeSource

Parameters

module Stdune : sig ... end

Signature

Sourcetype t = {
  1. name : Stdune.Lib_name.t option;
  2. entries : entry list;
}
Sourceand entry =
  1. | Comment of string
  2. | Rule of rule
  3. | Package of t
Sourceand rule = {
  1. var : string;
  2. predicates : predicate list;
  3. action : action;
  4. value : string;
}
Sourceand action =
  1. | Set
  2. | Add
Sourceand predicate =
  1. | Pos of string
  2. | Neg of string
Sourceval add_versions : t -> get_version:(Stdune.Lib_name.t list -> string option) -> t
Sourcemodule Parse : sig ... end
OCaml

Innovation. Community. Security.