Skip to content

Commit

Permalink
[htmlify] add copying of static files; add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Jul 30, 2012
1 parent 448d5cf commit d5477a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file added html-files/favicon.ico
Binary file not shown.
5 changes: 5 additions & 0 deletions htmlify.pl
Expand Up @@ -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, '/', '::') => $_ };
Expand Down

0 comments on commit d5477a8

Please sign in to comment.