package opam-test

  1. Overview
  2. Docs
An opam plugin to test projects

Install

dune-project
 Dependency

Authors

Maintainers

Sources

opam-build-0.3.0.tar.gz
md5=b14bf4a7020672caf125df1eaba2dd98
sha512=09d68b1c4f57afd6ef20648a0b1c47d742f7ae8446e0d0b508f61f44674b65560d00a7a7e6c58073a99ac3b7c03b81c51fc5ec22fa32e95d24086b0a63a53104

doc/README.html

opam-build and opam-test are two opam plugins:

  • opam-build: builds any project easily with just one command: opam build. The command will setup a local switch and install all the required dependencies.
  • opam-test: does the same thing as opam-build but runs the tests on top of it. It also circumvents issues with cyclic test dependencies in opam (where the tests require a package that needs the library it is trying to test). Such cyclic dependency is present in packages such as odoc or base. See https://github.com/ocaml/opam/issues/4594

To install it, simply call:

$ opam install opam-build

Then to use it, in the directory you want to build, simply call:

$ opam build

I hope these plugins help beginners have a more straighforward experience with OCaml.