Page
Library
Module
Module type
Parameter
Class
Class type
Source
Oasis2opam_installGenerate an opam .install file from the oasis build log
val oasis_lib : ?sub_dir:string -> string -> itemAn oasis library. The argument is the same name as what comes just after the Library keyword in the _oasis file.
If sub_dir is given, files will be installed in lib/<sub_dir>.
val oasis_obj : ?sub_dir:string -> string -> itemAn oasis object. The argument is the same name as what comes just after the Object keyword in the _oasis file.
If sub_dir is given, files will be installed in lib/<sub_dir>.
val oasis_exe : ?dest:string -> ?section:string -> string -> itemAn oasis library. The argument is the same name as what comes just after the Library keyword in the _oasis file.
section defaults to "bin", you can put "libexec" to install the executable in the "lib/<package>" directory instead (for ppx rewriters for instance).
val file : ?dest:string -> section:string -> string -> itemA single file.
val generate : package:string -> item list -> unitProduces a package ^ ".install" file