1#!/bin/sh23set -e45if [ -z "$GO" ]; then6 export GO=go7fi89./build_cover.sh1011clean() {12 rm -f /tmp/maddy-coverage-report*13}14trap clean EXIT1516$GO test -tags integration -integration.executable ./maddy.cover -integration.coverprofile /tmp/maddy-coverage-report "$@"17$GO run gocovcat.go /tmp/maddy-coverage-report* > coverage.out