diff options
author | bartus | 2024-03-06 14:16:48 +0100 |
---|---|---|
committer | bartus | 2024-03-06 14:16:48 +0100 |
commit | 4817367aef9502f3c882c74b843ef7053597a386 (patch) | |
tree | 56742772c5a8ceab5c610b5605fa4c6a981ac23f /PKGBUILD | |
parent | 4af84b37b26a75d359d44764b2d57772a801f94d (diff) | |
download | aur-4817367aef9502f3c882c74b843ef7053597a386.tar.gz |
Add check() function
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -84,6 +84,9 @@ build() { # shellcheck disable=SC2046 # allow MAKEFLAGS to split when passing multiple flags. ninja $(grep -oP -- '-+[A-z]+ ?[0-9]*'<<<"${MAKEFLAGS:--j1}") -C "${srcdir}/build" } + +check() { + ninja -C "${srcdir}/build" test } package() { |