Ddox fix and CI test added

This commit is contained in:
Denis Feklushkin 2019-03-05 19:04:45 +07:00
parent aa6b78783e
commit 3258572585
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