diff options
author | dakkar <dakkar@thenautilus.net> | 2015-09-05 16:21:29 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2015-09-05 16:21:29 +0100 |
commit | 4078424b9105dba16c50087347b3a607cd75d4d1 (patch) | |
tree | bd81983e27be76dcb28254f26c5359be47a8aa8d /lib/WebCoso/Doc/Base.pm | |
parent | more tests (diff) | |
download | WebCoso-p6-4078424b9105dba16c50087347b3a607cd75d4d1.tar.gz WebCoso-p6-4078424b9105dba16c50087347b3a607cd75d4d1.tar.bz2 WebCoso-p6-4078424b9105dba16c50087347b3a607cd75d4d1.zip |
first maker test
Diffstat (limited to 'lib/WebCoso/Doc/Base.pm')
-rw-r--r-- | lib/WebCoso/Doc/Base.pm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/WebCoso/Doc/Base.pm b/lib/WebCoso/Doc/Base.pm index 2d6bb1a..9ceefa1 100644 --- a/lib/WebCoso/Doc/Base.pm +++ b/lib/WebCoso/Doc/Base.pm @@ -1,12 +1,17 @@ # -*- mode: perl6 -*- +use WebCoso::Maker::TT; +use WebCoso::Maker::RST; +use WebCoso::Maker::XHTML; +use WebCoso::Maker::HTML; + role WebCoso::Doc::Base[$basename] { has $!wc; has $.dir; - has $.tt = Maker::TT.new(:$basename,:$!dir,:$!wc); - has $.rst = Maker::RST.new(:$basename,:$!dir,:$!wc); - has $.xhtml = Maker::XHTML.new(:$basename,:$!dir,:$!wc); - has $.html = Maker::HTML.new(:$basename,:$!dir,:$!wc); + has $.tt = WebCoso::Maker::TT.new(:$basename,:$!dir,:$!wc); + has $.rst = WebCoso::Maker::RST.new(:$basename,:$!dir,:$!wc); + has $.xhtml = WebCoso::Maker::XHTML.new(:$basename,:$!dir,:$!wc); + has $.html = WebCoso::Maker::HTML.new(:$basename,:$!dir,:$!wc); method make() { .html.get-files(); |