gopass: adjust for default do_check

This commit is contained in:
classabbyamp 2024-08-09 13:36:39 -04:00 committed by classabbyamp
parent d6660e24fa
commit 37be9aa445
1 changed files with 3 additions and 4 deletions

View File

@ -5,6 +5,7 @@ revision=2
build_style=go
go_import_path=github.com/gopasspw/gopass
go_package="${go_import_path}"
make_check_target="./tests"
depends="gnupg>=2 git"
checkdepends="gnupg git age"
short_desc="Slightly more awesome standard unix password manager for teams"
@ -14,11 +15,9 @@ homepage="https://www.gopass.pw/"
changelog="https://raw.githubusercontent.com/gopasspw/gopass/master/CHANGELOG.md"
distfiles="https://github.com/gopasspw/gopass/archive/refs/tags/v${version}.tar.gz"
checksum=47a2a735fc94064c3eb53c400f15c39b543bdb01753537da39403d12dddc03ea
export GOFLAGS="-buildmode=pie"
make_check_pre="GOPASS_BINARY=${GOPATH}/bin/gopass"
do_check() {
GOPASS_BINARY=${GOPATH}/bin/gopass go test -v ./tests
}
export GOFLAGS="-buildmode=pie"
post_install() {
vlicense LICENSE