1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-22 06:31:05 +01:00
void-packages/common/build-style/raku-dist.sh
2024-03-29 08:12:19 +01:00

16 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=.
}