void-packages/common/build-style/raku-dist.sh

17 lines
274 B
Bash
Raw Normal View History

#
# This helper is for Raku package templates.
#
do_check() {
2020-05-17 12:24:06 +00:00
RAKULIB=lib 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=.
}