void-packages/common/build-style/raku-dist.sh
2020-02-05 09:58:38 +01:00

16 lines
275 B
Bash

#
# This helper is for Raku package templates.
#
do_check() {
PERL6LIB=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=.
}