mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
bats-assert: install in bats search path
This commit is contained in:
parent
6cca889898
commit
739ce7b68a
1 changed files with 6 additions and 6 deletions
|
@ -1,28 +1,28 @@
|
||||||
# Template file for 'bats-assert'.
|
# Template file for 'bats-assert'
|
||||||
pkgname=bats-assert
|
pkgname=bats-assert
|
||||||
version=2.1.0
|
version=2.1.0
|
||||||
revision=1
|
revision=2
|
||||||
depends="bats bats-support"
|
depends="bats bats-support"
|
||||||
checkdepends="$depends"
|
checkdepends="$depends"
|
||||||
short_desc="Common assertions for BATS"
|
short_desc="Common assertions for BATS"
|
||||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="CC0-1.0"
|
license="CC0-1.0"
|
||||||
homepage="https://github.com/bats-core/bats-assert"
|
homepage="https://github.com/bats-core/bats-assert"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/bats-core/bats-assert/archive/v${version}.tar.gz"
|
||||||
checksum=98ca3b685f8b8993e48ec057565e6e2abcc541034ed5b0e81f191505682037fd
|
checksum=98ca3b685f8b8993e48ec057565e6e2abcc541034ed5b0e81f191505682037fd
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
BATS_LIB_PATH=/usr/lib bats test
|
bats test
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
local f
|
local f
|
||||||
|
|
||||||
for f in *.bash; do
|
for f in *.bash; do
|
||||||
vinstall "$f" 644 usr/lib/bats-assert
|
vinstall "$f" 644 usr/lib/bats/bats-assert
|
||||||
done
|
done
|
||||||
|
|
||||||
for f in src/*.bash; do
|
for f in src/*.bash; do
|
||||||
vinstall "$f" 644 usr/lib/bats-assert/src
|
vinstall "$f" 644 usr/lib/bats/bats-assert/src
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue