[arch-commits] Commit in prometheus-blackbox-exporter/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Thu Jan 3 21:04:54 UTC 2019


    Date: Thursday, January 3, 2019 @ 21:04:53
  Author: jelle
Revision: 342917

add tests

Modified:
  prometheus-blackbox-exporter/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++++
 1 file changed, 5 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-03 20:59:32 UTC (rev 342916)
+++ PKGBUILD	2019-01-03 21:04:53 UTC (rev 342917)
@@ -19,6 +19,11 @@
   patch -Np1 -i $srcdir/go.sum.patch
 }
 
+check() {
+  cd blackbox_exporter-$pkgver
+  go test ./...
+}
+
 build() {
   cd blackbox_exporter-$pkgver
   go build \



More information about the arch-commits mailing list