[arch-commits] Commit in terraform/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Feb 2 16:31:31 UTC 2020
Date: Sunday, February 2, 2020 @ 16:31:30
Author: shibumi
Revision: 561685
add tests
Modified:
terraform/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-02 16:31:01 UTC (rev 561684)
+++ PKGBUILD 2020-02-02 16:31:30 UTC (rev 561685)
@@ -3,7 +3,7 @@
pkgname=terraform
pkgver=0.12.20
-pkgrel=1
+pkgrel=2
pkgdesc="HashiCorp tool for building and updating infrastructure as code idempotently"
url="https://www.terraform.io/"
arch=("x86_64")
@@ -20,6 +20,11 @@
go build -o terraform-binary
}
+check() {
+ cd "${pkgname}-${pkgver}"
+ go test ./...
+}
+
package() {
cd "$pkgname-$pkgver"
install -Dm755 terraform-binary "$pkgdir/usr/bin/terraform"
More information about the arch-commits
mailing list