TABLE OF CONTENTS
ocaml-dune.cygclass
[ Top ] [ Cygclasses ] [ Cygclasses ]
SYNOPSIS
inherit ocaml-dune
DESCRIPTION
Dune is a relatively new, and increasingly popular, build system designed for OCaml projects.
This cygclass provides functions for building Dune-based OCaml packages.
INHERITS
REQUIRES
ocaml-dune
OCAML_DUNE_BUILD_ARGS
[ Top ] [ ocaml-dune.cygclass ] [ Variables ]
DESCRIPTION
Arguments, usually build targets, to be passed to "dune build" by ocaml_dune_compile.
ocaml_dune_compile
[ Top ] [ ocaml-dune.cygclass ] [ Compile Functions ]
DESCRIPTION
Runs "dune build", passing OCAML_DUNE_BUILD_ARGS and any given arguments.
ocaml_dune_install
[ Top ] [ ocaml-dune.cygclass ] [ Install Functions ]
DESCRIPTION
Runs "dune install" with a destdir of $D.
ocaml_dune_test
[ Top ] [ ocaml-dune.cygclass ] [ Testsuite Functions ]
DESCRIPTION
Runs "dune runtest" with any given test directories.
src_compile (ocaml-dune)
[ Top ] [ ocaml-dune.cygclass ] [ Overloads ]
DEFINITION
src_compile() { cd ${S} ocaml_dune_compile }
src_install (ocaml-dune)
[ Top ] [ ocaml-dune.cygclass ] [ Overloads ]
DEFINITION
src_install() { cd ${S} ocaml_dune_install }
src_test (ocaml-dune)
[ Top ] [ ocaml-dune.cygclass ] [ Overloads ]
DEFINITION
src_test() { cd ${S} ocaml_dune_test }