[arch-commits] Commit in golang-github-kr-pretty/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Feb 22 19:31:35 UTC 2019


    Date: Friday, February 22, 2019 @ 19:31:34
  Author: felixonmars
Revision: 435307

update test command

Modified:
  golang-github-kr-pretty/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-22 19:31:18 UTC (rev 435306)
+++ PKGBUILD	2019-02-22 19:31:34 UTC (rev 435307)
@@ -15,7 +15,8 @@
   export GOPATH="$srcdir/build:/usr/share/gocode"
   mkdir -p "$srcdir"/build/src/github.com/kr
   cp -a "$srcdir"/pretty-$pkgver "$srcdir"/build/src/github.com/kr/pretty
-  go test -v ./pretty-$pkgver
+  cd "$srcdir"/build/src/github.com/kr/pretty
+  go test -v $(go list ./... | grep -v vendor)
 }
 
 package() {



More information about the arch-commits mailing list