summaryrefslogtreecommitdiff
path: root/lib/WebCoso
diff options
context:
space:
mode:
Diffstat (limited to 'lib/WebCoso')
-rw-r--r--lib/WebCoso/Doc/Base.pm1
-rw-r--r--lib/WebCoso/Maker.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/WebCoso/Doc/Base.pm b/lib/WebCoso/Doc/Base.pm
index ab99164..6037ff9 100644
--- a/lib/WebCoso/Doc/Base.pm
+++ b/lib/WebCoso/Doc/Base.pm
@@ -30,6 +30,7 @@ class WebCoso::Doc::Base {
when 'du.xml' { return $.rst.make() }
when 'xhtml' { return $.xhtml.make() }
when 'html' { return $.html.make() }
+ default: { return () }
}
}
diff --git a/lib/WebCoso/Maker.pm b/lib/WebCoso/Maker.pm
index d5436df..86241a7 100644
--- a/lib/WebCoso/Maker.pm
+++ b/lib/WebCoso/Maker.pm
@@ -33,6 +33,7 @@ role WebCoso::Maker[$from,$to] {
my $dst = %dsts{$lang};
my @deps = %deps{$lang} // ();
say "Maker[$from,$to]($.dir/$.basename)::make lang $lang";
+ say "Maker[$from,$to]($.dir/$.basename)::make dst modified {$dst ?? $dst.modified !! 'not-there'} src modified {$src.modified}";
next if $dst and $dst.modified after
all($src.modified,@depsĀ».modified.flat);