Permalink
Browse files

Include description in results.json

  • Loading branch information...
1 parent ad6a7bf commit c8f70911054db62cd602970aff45451dd16f1713 @tadzik committed Apr 30, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 smoker
View
6 smoker
@@ -8,7 +8,7 @@ multi gen-result($) {
}
multi gen-result(X::Panda $ex) {
- return do given $ex.stage {
+ my %res = do given $ex.stage {
when 'resolve' | 'fetch' {
{ prereq => False }
}
@@ -18,7 +18,9 @@ multi gen-result(X::Panda $ex) {
when 'test' {
{ prereq => True, build => True, test => False }
}
- }
+ };
+ %res<description> = $ex.description;
+ return %res
}
sub MAIN ($projectsfile) {

0 comments on commit c8f7091

Please sign in to comment.