#!/usr/bin/env bash 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 else dub test meson build && ninja -C build || echo Warning: Meson build failed! fi