Fix bin scripts
This commit is contained in:
parent
adbb1216af
commit
9ce4491836
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
pushd $(dirname "$0")/.. # run from root dir
|
||||
|
||||
set -e
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
pushd $(dirname "$0")/.. # run from root dir
|
||||
|
||||
rm -rf ./coverage
|
||||
mkdir ./coverage/
|
||||
|
||||
chmod 777 ./target/pilgrim_coverage
|
||||
go test --cover -coverpkg=./internal/pilgrim... -covermode=count -coverprofile=./coverage/cover.out ./...
|
||||
|
||||
go tool cover -html=./coverage/cover.out
|
||||
|
|
Loading…
Add table
Reference in a new issue