Skip to content

Commit

Permalink
Merge pull request #18 from minhqdao/add-batches-to-readme
Browse files Browse the repository at this point in the history
Add badges and minor changes to readme
  • Loading branch information
minhqdao authored Jan 21, 2024
2 parents 558a9e9 + 8d58725 commit b32a51f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# version-f

[![License](https://img.shields.io/github/license/minhqdao/version-f?label=License&color=teal)](https://opensource.org/licenses/Apache-2.0)
[![Release](https://img.shields.io/github/release/minhqdao/version-f?label=Release)](https://github.com/minhqdao/version-f/releases)
[![CI](https://github.com/minhqdao/version-f/actions/workflows/ci.yml/badge.svg)](https://github.com/minhqdao/version-f/actions/workflows/ci.yml)


This package provides a complete Fortran implementation of
[Semantic Versioning 2.0.0](https://semver.org). It aims to be a user-friendly
tool for handling versions in your Fortran projects.

It follows the `major`.`minor`.`patch` pattern and allows the inclusion of
`prerelease` labels and `build` metadata. Versions can be created or parsed from
strings, compared, incremented and converted back to strings.
strings, compared, incremented and printed as strings.

## Installation

Expand All @@ -20,7 +25,7 @@ simply add this package as a dependency to your `fpm.toml` file:

[dependencies.version-f]
git = "https://github.com/minhqdao/version-f.git"
tag = "v0.3.0"
tag = "v0.4.0"
```

Then import the `version_f` module into your Fortran code:
Expand Down Expand Up @@ -285,7 +290,7 @@ fpm test

The CI will fail if the code is not formatted correctly. Please configure your
editor to use [fprettify](https://pypi.org/project/fprettify/) and use an
indentation width of 2 or run `fprettify -i 2 -r .` before committing. Thank you. 🙏🏽
indentation width of 2 or run `fprettify -i 2 -r .` before committing.

## Contribute

Expand Down

0 comments on commit b32a51f

Please sign in to comment.