Skip to content

Instantly share code, notes, and snippets.

@jonathanstowe
Created February 23, 2016 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanstowe/be951a63cbf713cff2b5 to your computer and use it in GitHub Desktop.
Save jonathanstowe/be951a63cbf713cff2b5 to your computer and use it in GitHub Desktop.
my @dists;
for $*REPO.repo-chain -> $r {
if $r.can('prefix') {
if $r.prefix.child('dist').e {
for $r.prefix.child('dist').dir -> $d {
my $dist-data = from-json($d.slurp);
push @dists, Distribution.new(|$dist-data);
}
}
}
}
say @dists;
# vim: expandtab shiftwidth=4 ft=perl6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment