package dune-release

  1. Overview
  2. Docs
Release dune packages in opam

Install

Dune Dependency

Authors

Maintainers

Sources

dune-release-1.3.3.tbz
sha256=8bfe323ed5165b3ba6476dba750b070784d65c9c25727450cc638800e57e1513
sha512=615f2da22c071f998244a9ec695006e576b3b2c947e2eafe3a4b13e0fc8f4b94cf24b0edaeefc0de07918e7bb37aebede3873ab355e90823e13172d203784043

Description

dune-release is a tool to streamline the release of Dune packages in opam. It supports projects built with Dune and hosted on GitHub.

Published: 30 Sep 2019

README

dune-release: release dune packages in opam

dune-release is a tool to streamline the release of Dune packages in opam. It supports only projects be built with Dune and released on GitHub.

Installation

dune-release can be installed with opam:

opam install dune-release

Documentation

A basic introduction and API reference is automatically generated by odoc from the interfaces. It can be consulted online.

The dune-release command line tool is extensively documented in man pages available through it's help system. Type:

dune-release help release # for help about releasing your package
dune-release help         # for more help

For instance:

$ dune-release help release

NAME
       dune-release - How to release a (dune) package

DESCRIPTION
       The basic release script is the following. Each step is refined and
       explained with more details below.

       dune-release tag           # Tag the distribution with a version
       dune-release distrib       # Create the distribution archive
       dune-release publish       # Publish it on the WWW with its documentation
       dune-release opam pkg      # Create an opam package
       dune-release opam submit   # Submit it to OCaml's opam repository

       The last four steps can be performed via a single invocation to
       dune-release(1).

Important Notes

Most of the code in this repository has been written and has already been released part of the topkg tool.

The main differences between dune-release and topkg are:

  • Remove pkg/pkg.ml;

  • Assume the project is built with dune;

  • Bundle everything as a single binary;

  • Use of Astring, Logs, Fpath andBos;

  • Remove the IPC layer (which is used between topkg and topkg-care);

Dependencies (12)

  1. odoc
  2. logs
  3. rresult < "0.7.0"
  4. opam-core
  5. opam-state
  6. opam-format
  7. re >= "1.7.2"
  8. cmdliner < "1.1.0"
  9. bos
  10. fmt >= "0.8.4"
  11. dune >= "1.2.0"
  12. ocaml >= "4.06.0"

Dev Dependencies (1)

  1. alcotest with-test

Used by (3)

  1. kicadsch >= "0.4.0" & < "0.5.1"
  2. plotkicadsch >= "0.4.0" & < "0.5.1"
  3. spectrum < "0.2.0"

Conflicts

None

OCaml

Innovation. Community. Security.