Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created March 12, 2013 13:49
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 tadzik/5143006 to your computer and use it in GitHub Desktop.
Save tadzik/5143006 to your computer and use it in GitHub Desktop.
diff --git a/lib/Panda/Ecosystem.pm b/lib/Panda/Ecosystem.pm
index 5563284..c3e40c6 100644
--- a/lib/Panda/Ecosystem.pm
+++ b/lib/Panda/Ecosystem.pm
@@ -58,6 +58,7 @@ class Panda::Ecosystem does Pies::Ecosystem {
}
}
+ note "#### CHECKING FOR projects.json ####";
self.update if $!projectsfile.IO !~~ :f || $!projectsfile.IO ~~ :z;
my $list = from-json slurp $!projectsfile;
unless defined $list {
@@ -79,6 +80,7 @@ class Panda::Ecosystem does Pies::Ecosystem {
}
method update {
+ note "#### UPDATING projects.json ####";
try unlink $!projectsfile;
getfile 'http://feather.perl6.nl:3000/projects.json',
$!projectsfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment