mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/bats: new aport
meta package for bats-{core, file, support, assert}
This commit is contained in:
parent
23a5eed7ab
commit
89348e8339
21
testing/bats/APKBUILD
Normal file
21
testing/bats/APKBUILD
Normal file
@ -0,0 +1,21 @@
|
||||
# Contributor: qaqland <qaq@qaq.land>
|
||||
# Maintainer: qaqland <qaq@qaq.land>
|
||||
pkgname=bats
|
||||
pkgver=1.11.0
|
||||
pkgrel=0
|
||||
pkgdesc="Meta package for Bats"
|
||||
url="https://bats-core.readthedocs.io/"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="
|
||||
bats-core
|
||||
bats-support
|
||||
bats-assert
|
||||
bats-file
|
||||
"
|
||||
install="bats.post-install"
|
||||
options="!check" # No tests for a metapkg
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
10
testing/bats/bats.post-install
Normal file
10
testing/bats/bats.post-install
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat >&2 <<EOF
|
||||
*
|
||||
* set BATS_LIB_PATH=/usr/lib/bats before executing `bats_load_library`
|
||||
*
|
||||
EOF
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user