30 lines
554 B
OCaml
30 lines
554 B
OCaml
(** Merlin rules *)
|
|
|
|
open Import
|
|
|
|
type t
|
|
|
|
val make
|
|
: ?requires:Lib.t list Or_exn.t
|
|
-> ?flags:(unit, string list) Build.t
|
|
-> ?preprocess:Dune_file.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
|
|
-> more_src_dirs:Path.t list
|
|
-> scope:Scope.t
|
|
-> dir_kind:File_tree.Dune_file.Kind.t
|
|
-> t
|
|
-> unit
|