Add debian packaging and some build scripts
This commit is contained in:
8
scripts/coverage
Executable file
8
scripts/coverage
Executable file
@ -0,0 +1,8 @@
|
||||
#!/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
|
Reference in New Issue
Block a user