From 6ef843416fdedfa0484c225be17a5009bcc4e07e Mon Sep 17 00:00:00 2001 From: Michael Bull Date: Fri, 15 Apr 2022 16:44:34 +0100 Subject: [PATCH] Add supported platform badges to README --- README.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b0a050d..0868fb8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,18 @@ # kotlin-result -[![Maven Central](https://img.shields.io/maven-central/v/com.michael-bull.kotlin-result/kotlin-result.svg)](https://search.maven.org/search?q=g:com.michael-bull.kotlin-result) [![CI Status](https://github.com/michaelbull/kotlin-result/workflows/ci/badge.svg)](https://github.com/michaelbull/kotlin-result/actions?query=workflow%3Aci) [![License](https://img.shields.io/github/license/michaelbull/kotlin-result.svg)](https://github.com/michaelbull/kotlin-result/blob/master/LICENSE) +[![Maven Central](https://img.shields.io/maven-central/v/com.michael-bull.kotlin-result/kotlin-result.svg)](https://search.maven.org/search?q=g:com.michael-bull.kotlin-result) +[![CI Status](https://github.com/michaelbull/kotlin-result/workflows/ci/badge.svg)](https://github.com/michaelbull/kotlin-result/actions?query=workflow%3Aci) +[![License](https://img.shields.io/github/license/michaelbull/kotlin-result.svg)](https://github.com/michaelbull/kotlin-result/blob/master/LICENSE) + +![badge][badge-jvm] +![badge][badge-js] +![badge][badge-nodejs] +![badge][badge-ios] +![badge][badge-linux] +![badge][badge-windows] +![badge][badge-mac] +![badge][badge-js-ir] +![badge][badge-apple-silicon] [`Result`][result] is a monad for modelling success ([`Ok`][result-ok]) or failure ([`Err`][result-err]) operations. @@ -296,3 +308,17 @@ This project is available under the terms of the ISC license. See the [scala-for-comprehension]: https://docs.scala-lang.org/tour/for-comprehensions.html [arrow-monad-comprehension]: https://arrow-kt.io/docs/0.10/patterns/monad_comprehensions/ [either-syntax]: https://arrow-kt.io/docs/0.10/apidocs/arrow-core-data/arrow.core/-either/#syntax + +[badge-android]: http://img.shields.io/badge/-android-6EDB8D.svg?style=flat +[badge-jvm]: http://img.shields.io/badge/-jvm-DB413D.svg?style=flat +[badge-js]: http://img.shields.io/badge/-js-F8DB5D.svg?style=flat +[badge-js-ir]: https://img.shields.io/badge/support-[IR]-AAC4E0.svg?style=flat +[badge-nodejs]: https://img.shields.io/badge/-nodejs-68a063.svg?style=flat +[badge-linux]: http://img.shields.io/badge/-linux-2D3F6C.svg?style=flat +[badge-windows]: http://img.shields.io/badge/-windows-4D76CD.svg?style=flat +[badge-wasm]: https://img.shields.io/badge/-wasm-624FE8.svg?style=flat +[badge-apple-silicon]: http://img.shields.io/badge/support-[AppleSilicon]-43BBFF.svg?style=flat +[badge-ios]: http://img.shields.io/badge/-ios-CDCDCD.svg?style=flat +[badge-mac]: http://img.shields.io/badge/-macos-111111.svg?style=flat +[badge-watchos]: http://img.shields.io/badge/-watchos-C0C0C0.svg?style=flat +[badge-tvos]: http://img.shields.io/badge/-tvos-808080.svg?style=flat