Loading .gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -7,3 +7,4 @@ /MANIFEST.SKIP /MANIFEST.SKIP.bak /MYMETA.yml /MYMETA.json Build.PL +3 −9 Original line number Diff line number Diff line Loading @@ -4,7 +4,8 @@ use strict; use warnings; use Module::Build; my %opts = ( Module::Build->new( build_requires => { 'Test::More' => 0, 'Test::Compile' => 0, Loading @@ -20,12 +21,5 @@ my %opts = ( 'XML::LibXML' => 0, 'WWW::Mechanize' => 0, }, ); if (-d '.git' and qx{which git} =~ qr{/git$}) { $opts{'dist_version'} = qx{git describe}; chomp $opts{'dist_version'}; } my $build = Module::Build->new(%opts); $build->create_build_script; )->create_build_script(); Loading
.gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -7,3 +7,4 @@ /MANIFEST.SKIP /MANIFEST.SKIP.bak /MYMETA.yml /MYMETA.json
Build.PL +3 −9 Original line number Diff line number Diff line Loading @@ -4,7 +4,8 @@ use strict; use warnings; use Module::Build; my %opts = ( Module::Build->new( build_requires => { 'Test::More' => 0, 'Test::Compile' => 0, Loading @@ -20,12 +21,5 @@ my %opts = ( 'XML::LibXML' => 0, 'WWW::Mechanize' => 0, }, ); if (-d '.git' and qx{which git} =~ qr{/git$}) { $opts{'dist_version'} = qx{git describe}; chomp $opts{'dist_version'}; } my $build = Module::Build->new(%opts); $build->create_build_script; )->create_build_script();