diff --git a/README.md b/README.md index 9ce8bf7..a3db727 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,11 @@ A semantic versioning library and constraints solver for Ponylang heavily inspired by [blang/semver](https://github.com/blang/semver). -## Installation +## Status + +[![Actions Status](https://github.com/ponylang/semver/workflows/vs-ponyc-latest/badge.svg)](https://github.com/ponylang/semver/actions) + +Beta ## Installation @@ -17,23 +21,4 @@ A semantic versioning library and constraints solver for Ponylang heavily inspir ## Usage -```pony -use "semver/version" - -actor Main - new create(env: Env) => - let v1 = Version(1, 2, 3) - let v2 = ParseVersion("1.2.4") - if (v2 > v1) then - // do something - end - - let v3 = ParseVersion("1.2.3-1nv$l1d.prerel.f13ld$") - if (not v3.is_valid()) then - // do something - end - - env.out.print(v1.string()) // => "1.2.3" -``` - -For usage of ranges / the solver see the test code for now. +See [examples](examples/) and the [ranges/solver](semver/test/) test code.