build-style/perl6-dist: rename to raku-dist.

This commit is contained in:
Andy Weidenbaum 2020-02-03 22:31:25 +08:00 committed by Juan RP
parent 3461044e57
commit e8e2b2e90a
4 changed files with 17 additions and 18 deletions

View File

@ -896,8 +896,7 @@ Additional install arguments can be specified via `make_install_args`.
- `perl-module` For packages that use the Perl
[ExtUtils::MakeMaker](http://perldoc.perl.org/ExtUtils/MakeMaker.html) build method.
- `perl6-dist` For packages that use the Rakudo Perl 6
`perl6-install-dist` build method with rakudo.
- `raku-dist` For packages that use the Raku `raku-install-dist` build method with rakudo.
- `waf3` For packages that use the Python3 `waf` build method with python3.

View File

@ -1,16 +0,0 @@
#
# This helper is for Rakudo Perl 6 package templates.
#
do_check() {
PERL6LIB=lib prove -r -e perl6 t/
}
do_install() {
export RAKUDO_LOG_PRECOMP=1
export RAKUDO_RERESOLVE_DEPENDENCIES=0
perl6-install-dist \
--to=${DESTDIR}/usr/share/perl6/vendor \
--for=vendor \
--from=.
}

View File

@ -0,0 +1,16 @@
#
# 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=.
}