diff options
author | Jonas Malaco | 2020-10-17 20:32:06 -0300 |
---|---|---|
committer | Jonas Malaco | 2020-10-17 20:32:06 -0300 |
commit | 5f739a74dee41555fbd9e061c2c393278a394f3f (patch) | |
tree | 16e4947ebcaf989ca270e2139c97c9aa53380383 | |
parent | 2309095a635a6948a8132fef9c6e3d6255367fe3 (diff) | |
download | aur-5f739a74dee41555fbd9e061c2c393278a394f3f.tar.gz |
Run cargo-llvm-lines on itself as an alternative test
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = cargo-llvm-lines pkgdesc = Count the number of lines of LLVM IR across all instantiations of a generic function pkgver = 0.4.8 - pkgrel = 1 + pkgrel = 2 url = https://github.com/dtolnay/cargo-llvm-lines arch = any license = Apache @@ -1,7 +1,7 @@ # Maintainer: Jonas Malaco <jonas@protocubo.io> pkgname=cargo-llvm-lines pkgver=0.4.8 -pkgrel=1 +pkgrel=2 pkgdesc="Count the number of lines of LLVM IR across all instantiations of a generic function" arch=('any') url='https://github.com/dtolnay/cargo-llvm-lines' @@ -18,6 +18,10 @@ build() { check() { cd "$pkgname-$pkgver" cargo test --release --locked --target-dir=target + + # since currently the above runs no tests (kept only for future + # proofing) run cargo llvm-lines on itself + target/release/cargo-llvm-lines llvm-lines | head -n 8 } package() { |