Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f689bf9d64
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.391 kb
use v6;
use JSON::Tiny;
sub run-or-die($x) {
run $x and die "Failed running '$x'"
}
my @modules;
my $fh = open('META.list');
for $fh.lines -> $url {
run-or-die "wget $url";
my $info = from-json(slurp('META.info'));
@modules.push($info);
say $info.perl;
unlink 'META.info';
}
given open('projects.json', :w) {
.say(to-json @modules);
.close;
}
$fh.close;
Jump to Line
Something went wrong with that request. Please try again.