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/CHANGES.html

v0.3.0 (25/11/2025)

  • Bump to opam 2.5
  • Allow to use cmdliner 2.0 which removed the ability to specify command and option name by their prefixes. This means that options such as --write as a shorthand for --write-config-only will only be valid if the opam-build has been compiled with cmdliner < 2.0 or if CMDLINER_LEGACY_PREFIXES=true is set in the environment.

v0.2.6 (06/09/2025)

  • Bump to opam 2.4

v0.2.5 (07/04/2025)

  • Print command arguments with quotes when they contain '#'
  • Upgrade to opam 2.3

v0.2.4 (02/03/2024)

  • Show the output of each commands called live
  • Quote the commands printed properly as required
  • Improve the UI

v0.2.3 (29/02/2024)

  • Restore compatiblity with OCaml >= 4.08

v0.2.2 (29/02/2024)

  • Fix flipped behaviour (pins should be done on local switches not global ones)

v0.2.1 (26/02/2024)

  • Restore compatiblity with OCaml >= 4.08

v0.2.0 (25/02/2024)

  • Upgrade to opam 2.2
  • Upgrade to cmdliner 1.1
  • Now requires the xdg library
  • Now requires OCaml >= 5.1
  • Improve performance
  • Add a new --global and --local command line argument to signify whether to use a local switch or a global switch
  • Add a new config file storing the user preference and which kind of switch to use by default
  • Remove the command line directory argument
  • Fix building unreleased packages in local mode
  • Do not show the "No invariant was set..." warning when creating a local switch
  • Document the tools and command line arguments in --help

v0.1.0 (22/11/2021)

  • A simple project with two plugins:

    • opam-build: which 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: which 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