vp-build/common/build-style/raku-dist.sh
Đoàn Trần Công Danh 90c35c4ac1 common/do_check: move make_check_pre behind env setting
All environment variables setting in command execution must be put
before any non-variables-like, otherwise, they're intepretted as
something else.

Fix: 71b11fdbdb, (xbps-src: add make_check_pre, 2022-02-28)
2022-05-08 08:12:03 +07:00

17 lines
292 B
Bash

#
# This helper is for Raku package templates.
#
do_check() {
RAKULIB=lib ${make_check_pre} prove -r -e raku t/
}
do_install() {
export RAKUDO_LOG_PRECOMP=1
export RAKUDO_RERESOLVE_DEPENDENCIES=0
raku-install-dist \
--to=${DESTDIR}/usr/lib/raku/vendor \
--for=vendor \
--from=.
}