Skip to content

Instantly share code, notes, and snippets.

@jonathanstowe
Last active March 23, 2016 10:58
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/0d5373a55db9df58d5c6 to your computer and use it in GitHub Desktop.
Save jonathanstowe/0d5373a55db9df58d5c6 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.grep({ $_.name eq 'Audio::PortMIDI' });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment