From 29278c6b3c285c78aec75e3f868ecd2ab9efe5a3 Mon Sep 17 00:00:00 2001 From: Andrew Montgomery-Hurrell Date: Mon, 31 Oct 2016 11:40:16 +0000 Subject: [PATCH 1/2] Add .travis.yml file Configure CI --- .travis.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4f2ee4d --- /dev/null +++ b/.travis.yml @@ -0,0 +1 @@ +language: go From bae033a781ef32d05839380bfd685a3c5aa630da Mon Sep 17 00:00:00 2001 From: Andrew Montgomery-Hurrell Date: Mon, 31 Oct 2016 13:38:57 +0000 Subject: [PATCH 2/2] Updating README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6136c24..02a397d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Roll +# Roll [![Go Report Card](https://goreportcard.com/badge/github.com/darkliquid/roll)](https://goreportcard.com/report/github.com/darkliquid/roll) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/darkliquid/roll/blob/master/LICENSE) [![GoDoc](https://godoc.org/github.com/darkliquid/roll?status.svg)](https://godoc.org/github.com/darkliquid/roll) [![Build Status](https://travis-ci.org/darkliquid/roll.svg?branch=master)](https://travis-ci.org/darkliquid/roll) -A simple dice roll parsing engine +A simple dice roll parsing engine that (mostly) supports the [Roll20 Dice Rolling Language Specification][1] ## Usage @@ -30,3 +30,5 @@ func main() { then run `echo '3d6+1' | go run main.go` to get some output like: `Rolled "3d6+1" and got 6, 6, 4 for a total of 17` + +[1]:https://wiki.roll20.net/Dice_Reference