diff options
author | Bruno Santos | 2023-10-28 22:34:27 +0100 |
---|---|---|
committer | Bruno Santos | 2023-10-28 22:34:27 +0100 |
commit | aaf68813855cd6cea0edd42d9d4b22b177fb005e (patch) | |
tree | 7299c720d1af774f4bd7cd30044f16b77d509f78 | |
parent | 8a9283b286977629ee7116506bc0f00abdfa51f2 (diff) | |
download | aur-aaf68813855cd6cea0edd42d9d4b22b177fb005e.tar.gz |
Add check() stage
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -18,6 +18,11 @@ build() { python -m build --wheel --no-isolation } +check() { + cd $srcdir/$upstream_name-$pkgver + make test +} + package() { cd $srcdir/$upstream_name-$pkgver python -m installer --compile-bytecode=1 --destdir="$pkgdir" dist/*.whl |