<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package builder::MyBuilder;
use strict;
use warnings;
use utf8;
use 5.008_001;

use parent qw(Module::Build);
use File::pushd;

sub new {
    my $class = shift;
    $class-&gt;SUPER::new(
        @_,
        c_source =&gt; [qw(hoedown/src/)],
        ($^O eq 'MSWin32' ? (extra_compiler_flags =&gt; ['-D__USE_MINGW_ANSI_STDIO=1']) : ()),
    );
}

sub ACTION_code {
    my $self = shift;

    if (-d '.git') {
#       system($^X, 'author/generate.pl');
    }

    $self-&gt;SUPER::ACTION_code();
}

1;

</pre></body></html>