New package: bats-assert-2.1.0
This commit is contained in:
parent
0491d8e401
commit
4aac19c838
1 changed files with 28 additions and 0 deletions
28
srcpkgs/bats-assert/template
Normal file
28
srcpkgs/bats-assert/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'bats-assert'
|
||||||
|
pkgname=bats-assert
|
||||||
|
version=2.1.0
|
||||||
|
revision=1
|
||||||
|
depends="bats bats-support"
|
||||||
|
checkdepends="$depends"
|
||||||
|
short_desc="Common assertions for BATS"
|
||||||
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
|
license="CC0-1.0"
|
||||||
|
homepage="https://github.com/bats-core/bats-assert"
|
||||||
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
|
checksum=98ca3b685f8b8993e48ec057565e6e2abcc541034ed5b0e81f191505682037fd
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
BATS_LIB_PATH=/usr/lib bats test
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
local f
|
||||||
|
|
||||||
|
for f in *.bash; do
|
||||||
|
vinstall "$f" 644 usr/lib/bats-assert
|
||||||
|
done
|
||||||
|
|
||||||
|
for f in src/*.bash; do
|
||||||
|
vinstall "$f" 644 usr/lib/bats-assert/src
|
||||||
|
done
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue