summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2eb1ad27604..5ff28907eb8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,11 +34,11 @@ build() {
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
go build -v ./
-}
+}
check() {
cd "$srcdir/$_pkgname"
-
+
go vet ./...
go test -v -coverprofile=coverage.txt -covermode=atomic ./pkg/...
}