Up
module
Dot_merlin
:
sig
Parse dot-merlin files *
#
type
directive = [
| `B
of
string
| `CMI
of
string
| `CMT
of
string
| `EXT
of
string list
| `FLG
of
string
| `PKG
of
string list
| `S
of
string
]
#
type
file = {
#
project
: string option
;
#
path
: string
;
#
directives
:
directive
list
;
}
#
type
config = {
#
dot_merlins
: string list
;
#
build_path
: string list
;
#
source_path
: string list
;
#
cmi_path
: string list
;
#
cmt_path
: string list
;
#
packages
: string list
;
#
flags
: string list list
;
#
extensions
: string list
;
}
#
val
find : string
->
string option
#
val
read : string
->
file
Std
.List.Lazy.t
#
val
empty_config :
config
#
val
parse : ?config:
config
->
file
Std
.List.Lazy.t
->
config
#
val
project_name :
file
Std
.List.Lazy.t
->
string option
#
val
path_of_packages : string list
->
[>
| `Failures
of
(string * exn) list
| `Ok
] * string list *
Ppxsetup
.
t
end