Permalink
Browse files

[htmlify] add copying of static files; add favicon

  • Loading branch information...
1 parent 448d5cf commit d5477a86d741516eac6225eb4e75e7d1be49f3e9 @moritz moritz committed Jul 30, 2012
Showing with 5 additions and 0 deletions.
  1. BIN html-files/favicon.ico
  2. +5 −0 htmlify.pl
View
Binary file not shown.
View
@@ -67,6 +67,11 @@ ($out_dir = 'html', Bool :$debug)
mkdir "$out_dir/$_" unless "$out_dir/$_".IO ~~ :e;
}
+ for dir('html-files') -> $f {
+ say "Copying $f to $out_dir";
+ ~$f.IO.copy($out_dir ~ '/' ~ $f.basename);
+ }
+
say 'Reading lib/ ...';
my @source = recursive-dir('lib').grep(*.f).grep(rx{\.pod$});
@source.=map: {; .path.subst('lib/', '').subst(rx{\.pod$}, '').subst(:g, '/', '::') => $_ };

0 comments on commit d5477a8

Please sign in to comment.