Merge pull request #28 from denizzzka/ddox_fix

Ddox fix, CI test added
This commit is contained in:
Sönke Ludwig 2019-03-05 13:22:35 +01:00 committed by GitHub
commit bb650bd5cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -23,7 +23,7 @@ import std.traits : EnumMembers, FieldNameTuple, Unqual, isInstanceOf;
For a given field "foo", these fields are:
$(UL
$(LI `static foo(value)`) - returns a new tagged union with the specified value)
$(LI `static foo(value)` - returns a new tagged union with the specified value)
$(LI `isFoo` - equivalent to `kind == Kind.foo`)
$(LI `setFoo(value)` - equivalent to `set!(Kind.foo)(value)`)
$(LI `getFoo` - equivalent to `get!(Kind.foo)`)

View file

@ -3,6 +3,8 @@
set -ueo pipefail
if [ ! -z "${COVERAGE:-}" ]; then
dub build --build=docs
dub test -b unittest-cov
wget https://codecov.io/bash -O codecov.sh
bash codecov.sh