package semver2
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=657c5113dc0b41f11e659fb24e5cf0f9
sha512=c8f45011fc49dea4be5ed30f0a1391a1fa8b862e3f6f06b6f82d5baefbbb6c9aee632fd5bb1ed0a77b764bb59bd704f559bdf713e195976c39034431b2099b8f
Description
Added to opam-repository:
README
ocaml-semver
Library for handling semantic version numbers (Semver 2.0.0) in OCaml.
Purpose
This library provides basic functions for working with semantic version numbers:
- Parsing and printing version strings
- Comparing version numbers for precedence
- Checking validity of version numbers according to the Semver spec
Please refer to the module documentation for its API.
Local development
The following dependencies are required:
- ocaml
- opam
- m4
- pkg-config
Opam needs to be initialized:
$ opam initLibrary dependencies can be installed with:
$ make install-depsMake sure to have an updated shell environment:
$ eval $(opam env)Then you can run the test suite with:
$ make testPublishing to opam
Whenever a new tag is pushed, you can publish the new version to opam.
The following dependencies are required to build opam-publish:
- ocaml
- opam
- m4
- pkgconfig
- openssl
- gmp
Contributing
Contributions are welcome in the form of issues or pull requests. Please remember to:
- Explain the intended purpose of your change and provide enough context for others to follow your reasoning.
- Add documentation for new (or existing!) functionality.
- Include tests to help ensure correctness of added code.
Copyright and Licensing
(C) 2020 Dividat AG.
Published under MIT license.
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building semver2 with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 1.2.0 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure