diff options
author | dakkar <dakkar@thenautilus.net> | 2015-09-06 15:27:50 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2015-09-06 15:27:50 +0100 |
commit | 3f439cd25065e13ac487efc68538f56a6b5f8f1e (patch) | |
tree | 860f8152d7476e0bdd4c8393b817c920ae6504cc /lib/WebCoso/Maker | |
parent | random flailing for deps (diff) | |
download | WebCoso-p6-3f439cd25065e13ac487efc68538f56a6b5f8f1e.tar.gz WebCoso-p6-3f439cd25065e13ac487efc68538f56a6b5f8f1e.tar.bz2 WebCoso-p6-3f439cd25065e13ac487efc68538f56a6b5f8f1e.zip |
deps almost working
Diffstat (limited to 'lib/WebCoso/Maker')
-rw-r--r-- | lib/WebCoso/Maker/HTML.pm | 2 | ||||
-rw-r--r-- | lib/WebCoso/Maker/RST.pm | 2 | ||||
-rw-r--r-- | lib/WebCoso/Maker/TT.pm | 2 | ||||
-rw-r--r-- | lib/WebCoso/Maker/XHTML.pm | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/WebCoso/Maker/HTML.pm b/lib/WebCoso/Maker/HTML.pm index 1003cbc..414fe2b 100644 --- a/lib/WebCoso/Maker/HTML.pm +++ b/lib/WebCoso/Maker/HTML.pm @@ -1,7 +1,7 @@ # -*- mode: perl6 -*- use WebCoso::Maker; class WebCoso::Maker::HTML does WebCoso::Maker['xhtml','html'] { - method process-contents($xhtml) { + method process-contents(:src($xhtml),:@deps) { return "{$xhtml} decorated"; } } diff --git a/lib/WebCoso/Maker/RST.pm b/lib/WebCoso/Maker/RST.pm index bf75ab1..76bc127 100644 --- a/lib/WebCoso/Maker/RST.pm +++ b/lib/WebCoso/Maker/RST.pm @@ -1,7 +1,7 @@ # -*- mode: perl6 -*- use WebCoso::Maker; class WebCoso::Maker::RST does WebCoso::Maker['rest.txt','du.xml'] { - method process-contents($rst) { + method process-contents(:src($rst),:@deps) { return "{$rst} parsed"; } } diff --git a/lib/WebCoso/Maker/TT.pm b/lib/WebCoso/Maker/TT.pm index eb5e390..256cf54 100644 --- a/lib/WebCoso/Maker/TT.pm +++ b/lib/WebCoso/Maker/TT.pm @@ -1,7 +1,7 @@ # -*- mode: perl6 -*- use WebCoso::Maker; class WebCoso::Maker::TT does WebCoso::Maker['tt','rest.txt'] { - method process-contents($tt) { + method process-contents(:src($tt),:@deps) { return "{$tt} expanded"; } } diff --git a/lib/WebCoso/Maker/XHTML.pm b/lib/WebCoso/Maker/XHTML.pm index d33c447..c2b1d9e 100644 --- a/lib/WebCoso/Maker/XHTML.pm +++ b/lib/WebCoso/Maker/XHTML.pm @@ -1,7 +1,7 @@ # -*- mode: perl6 -*- use WebCoso::Maker; class WebCoso::Maker::XHTML does WebCoso::Maker['du.xml','xhtml'] { - method process-contents($du) { + method process-contents(:src($du),:@deps) { return "{$du} converted"; } } |