28 lines
484 B
OCaml
28 lines
484 B
OCaml
(** Merlin rules *)
|
|
|
|
open Import
|
|
|
|
type t
|
|
|
|
val make
|
|
: ?requires:(Lib.t list, exn) result
|
|
-> ?flags:(unit, string list) Build.t
|
|
-> ?preprocess:Jbuild.Preprocess.t
|
|
-> ?libname:string
|
|
-> ?source_dirs: Path.Set.t
|
|
-> ?objs_dirs:Path.Set.t
|
|
-> unit
|
|
-> t
|
|
|
|
val add_source_dir : t -> Path.t -> t
|
|
|
|
val merge_all : t list -> t option
|
|
|
|
(** Add rules for generating the .merlin in a directory *)
|
|
val add_rules
|
|
: Super_context.t
|
|
-> dir:Path.t
|
|
-> scope:Scope.t
|
|
-> t
|
|
-> unit
|