package js-build-tools

  1. Overview
  2. Docs
Collection of tools to help building Jane Street Packages

Install

Dune Dependency

Authors

Maintainers

Sources

js-build-tools-113.33.04.tar.gz
sha256=30c54ab990298d32c7faaf0dbf9d7bdd98fc7c5d2ae99c6c7cfeb23c5f8c51a8
md5=25e2657622a2be4dac42adc2ea148999

doc/js-build-tools.oasis2opam_install/Oasis2opam_install/index.html

Module Oasis2opam_install

Generate an opam .install file from the oasis build log

type item

A description item from the install

val oasis_lib : ?sub_dir:string -> string -> item

An 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 -> item

An 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 -> item

An 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 -> item

A single file.

val generate : package:string -> item list -> unit

Produces a package ^ ".install" file

OCaml

Innovation. Community. Security.