Skip to content

Commit d5477a8

Browse files
committed
[htmlify] add copying of static files; add favicon
1 parent 448d5cf commit d5477a8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

html-files/favicon.ico

1.12 KB
Binary file not shown.

htmlify.pl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ ($out_dir = 'html', Bool :$debug)
6767
mkdir "$out_dir/$_" unless "$out_dir/$_".IO ~~ :e;
6868
}
6969

70+
for dir('html-files') -> $f {
71+
say "Copying $f to $out_dir";
72+
~$f.IO.copy($out_dir ~ '/' ~ $f.basename);
73+
}
74+
7075
say 'Reading lib/ ...';
7176
my @source = recursive-dir('lib').grep(*.f).grep(rx{\.pod$});
7277
@source.=map: {; .path.subst('lib/', '').subst(rx{\.pod$}, '').subst(:g, '/', '::') => $_ };

0 commit comments

Comments
 (0)