yq/scripts/coverage.sh
kenjones 86639acf70 Task: Simplify development
The base directory has all shell scripts in scripts/
and all example/test files in examples/.
A Makefile provides all the commands with helpful information.
If a developer simply types `make` then vendor is properly updated,
the code is formatted, linted, tested, built, acceptance test run,
and installed.

Linting errors resolved.
Ignored test case (`TestParsePath`) updated to work as expected.
2017-09-23 08:37:34 +10:00

7 lines
112 B
Bash
Executable File

#!/bin/bash
set -e
go test -coverprofile=coverage.out
go tool cover -html=coverage.out -o cover/coverage.html