[arch-commits] Commit in golang-github-kr-text/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Feb 22 19:31:44 UTC 2019
Date: Friday, February 22, 2019 @ 19:31:42
Author: felixonmars
Revision: 435308
update test command
Modified:
golang-github-kr-text/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-22 19:31:34 UTC (rev 435307)
+++ PKGBUILD 2019-02-22 19:31:42 UTC (rev 435308)
@@ -12,7 +12,11 @@
sha512sums=('bac4ad4e21c16838f79aeacf7c71d706794ae2921dfd4817f10583ae4ba650279be69996524a77b555ad3858170118682bbe1fd643a60201e59805afd1ee551e')
check() {
- go test -v ./text-$pkgver
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ mkdir -p "$srcdir"/build/src/github.com/kr
+ cp -a "$srcdir"/text-$pkgver "$srcdir"/build/src/github.com/kr/text
+ cd "$srcdir"/build/src/github.com/kr/text
+ go test -v $(go list ./... | grep -v vendor)
}
package() {
More information about the arch-commits
mailing list