Permalink
Browse files

some changes

  • Loading branch information...
1 parent b5266a8 commit e43734e0712d6ceefed25314fd37f0ba00fadc9e @sergot committed Jul 20, 2012
Showing with 8 additions and 4 deletions.
  1. +8 −4 web/build.p6
View
12 web/build.p6
@@ -29,13 +29,17 @@ class Project {
$url ~~ s:g/\//\\\//;
eval "qx/ git clone $url /";
- #$gitname.IO.e ?? eval "qx/ cd $gitname; git pull /" !! eval "qx/ git clone $url /";
+ #$gitname.IO.e ?? eval "qx/ cd $gitname; git pull /" !! eval "qx/ git clone $url /"; too slow
+ my $item;
try {
- my $item = from-json(slurp "$!gitname/META.info")[0];
- $!name = $item<name> or "error";
- $!description = $item<description>;
+ $item = from-json(slurp "$!gitname/META.info")[0];
}
+
+ $!name = $item<name> or "error";
+ say $!name;
+ $!description = $item<description> or "error";
+
$!URL ~~ s/git\:\/\//https\:\/\//;
$!URL ~~ s/\.git//;

0 comments on commit e43734e

Please sign in to comment.