summaryrefslogtreecommitdiff
path: root/lib/WebCoso/Doc/Base.pm
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2015-09-05 13:50:48 +0100
committerdakkar <dakkar@thenautilus.net>2015-09-05 13:50:48 +0100
commit1cad72ceecfdd03fed63c7424cf0a04a8aa3d5a4 (patch)
tree0f372bd0b06b621244473e07cd36621b73a8d39b /lib/WebCoso/Doc/Base.pm
downloadWebCoso-p6-1cad72ceecfdd03fed63c7424cf0a04a8aa3d5a4.tar.gz
WebCoso-p6-1cad72ceecfdd03fed63c7424cf0a04a8aa3d5a4.tar.bz2
WebCoso-p6-1cad72ceecfdd03fed63c7424cf0a04a8aa3d5a4.zip
first attempt
Diffstat (limited to 'lib/WebCoso/Doc/Base.pm')
-rw-r--r--lib/WebCoso/Doc/Base.pm14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/WebCoso/Doc/Base.pm b/lib/WebCoso/Doc/Base.pm
new file mode 100644
index 0000000..1b74427
--- /dev/null
+++ b/lib/WebCoso/Doc/Base.pm
@@ -0,0 +1,14 @@
+# -*- mode: perl6 -*-
+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);
+
+ method make() {
+ .html.get-files();
+ }
+}