mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
8 lines
180 B
Bash
Executable file
8 lines
180 B
Bash
Executable file
#!/bin/bash
|
|
mkdir -p target/
|
|
go test ./... -coverprofile=target/coverage.out
|
|
if [ ! -z $1 ]; then
|
|
go tool cover -html=coverage.out -o $1
|
|
else
|
|
go tool cover -html=coverage.out
|
|
fi
|