From 723d1744587d636ce59f5a48432a29af645f4ed4 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 2 Aug 2018 19:25:07 +0000 Subject: testing/hub: add check --- testing/hub/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'testing/hub') diff --git a/testing/hub/APKBUILD b/testing/hub/APKBUILD index c0a0ccbf8a..00bbd88ae5 100644 --- a/testing/hub/APKBUILD +++ b/testing/hub/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Roberto Oliveira pkgname=hub pkgver=2.5.0 -pkgrel=0 +pkgrel=1 pkgdesc="Extends git with extra features for GitHub" url="http://hub.github.com/" arch="all" @@ -31,6 +31,11 @@ build() { ./script/build } +check() { + cd "$builddir" + go test ./... +} + package() { cd "$builddir" install -Dm755 bin/$pkgname "$pkgdir/usr/bin/$pkgname" -- cgit v1.2.3