"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/BUILDPLAN.rakumod" between
rakudo-2020.09.tar.gz and rakudo-2020.10.tar.gz

About: Rakudo is a compiler for the Raku Pogramming Language (formerly known as Perl 6).

BUILDPLAN.rakumod  (rakudo-2020.09):BUILDPLAN.rakumod  (rakudo-2020.10)
skipping to change at line 62 skipping to change at line 62
} }
# array with build steps of given BUILDPLAN/BUILDALLPLAN # array with build steps of given BUILDPLAN/BUILDALLPLAN
sub build-steps(@plan) is export { sub build-steps(@plan) is export {
my @steps; my @steps;
for @plan.kv -> $i, \action { for @plan.kv -> $i, \action {
@steps.push: @steps.push:
nqp::istype(action,List) nqp::istype(action,List)
?? showop(action) ?? showop(action)
!! $i !! "call obj.{ action.package.^name }::{ action.name }"
?? "call obj.TWEAK"
!! "call obj.BUILD";
} }
@steps @steps
} }
# description of given BUILDPLAN/BUILDALLPLAN # description of given BUILDPLAN/BUILDALLPLAN
sub build-description(@plan --> Str:D) is export { sub build-description(@plan --> Str:D) is export {
if build-steps(@plan) -> @steps { if build-steps(@plan) -> @steps {
@steps.kv.map( -> \step, $text { sprintf "%2d: $text", step } ) @steps.kv.map( -> \step, $text { sprintf "%2d: $text", step } )
.join("\n") .join("\n")
 End of changes. 1 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)