diff options
author | Kimiblock | 2023-11-19 21:14:04 +0800 |
---|---|---|
committer | Kimiblock | 2023-11-19 21:14:04 +0800 |
commit | 587768902feebe81ffda998582f57e5f090a0a36 (patch) | |
tree | 71e5db391e3d121a509d7404ca6fbabaac11b97a | |
parent | b37ab315a4ec6637e5ce552faedcabcef665d63b (diff) | |
download | aur-587768902feebe81ffda998582f57e5f090a0a36.tar.gz |
Refactor PKGBUILD
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -22,7 +22,12 @@ function pkgver(){ function build(){ cd "${srcdir}/matrix-federation-tester" - go build + go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" +} + +function check() { + cd "${srcdir}/matrix-federation-tester" + go test ./... } function package(){ |