dune/src/install.mli

33 lines
500 B
OCaml
Raw Normal View History

2016-12-02 13:54:32 +00:00
(** Opam install file *)
module Section : sig
type t =
| Lib
| Libexec
| Bin
| Sbin
| Toplevel
| Share
| Share_root
| Etc
| Doc
| Stublibs
| Man
| Misc
2016-12-15 11:20:46 +00:00
val t : Sexp.t -> t
2016-12-02 13:54:32 +00:00
end
module Entry : sig
type t =
{ src : Path.t
; dst : string option
; section : Section.t
}
2016-12-07 15:09:49 +00:00
val make : Section.t -> ?dst:string -> Path.t -> t
2016-12-02 13:54:32 +00:00
end
val files : Entry.t list -> Path.Set.t
val write_install_file : Path.t -> Entry.t list -> unit