Fix bin scripts

This commit is contained in:
Miroslav Vasilev 2025-03-24 00:14:37 +02:00
parent adbb1216af
commit 9ce4491836
Signed by: mvv
GPG key ID: 92BACFBE98721A3F
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,5 @@
#!/bin/bash
pushd $(dirname "$0")/.. # run from root dir
set -e

View file

@ -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