[arch-commits] Commit in packer/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Feb 2 16:42:20 UTC 2020
Date: Sunday, February 2, 2020 @ 16:42:19
Author: shibumi
Revision: 561703
add tests
Modified:
packer/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++++
1 file changed, 5 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-02 16:41:51 UTC (rev 561702)
+++ PKGBUILD 2020-02-02 16:42:19 UTC (rev 561703)
@@ -26,6 +26,11 @@
go build -o packer-binary
}
+check() {
+ cd "src/github.com/hashicorp/${pkgname}"
+ go test ./...
+}
+
package() {
cd "src/github.com/hashicorp/${pkgname}"
install -Dm755 packer-binary "${pkgdir}/usr/bin/packer"
More information about the arch-commits
mailing list