# Note: this file has been initially generated by Module::Build::Convert 0.49

use strict;
use warnings;

use Module::Build;

eval 'use ExtUtils::MakeMaker::Coverage';
warn "Optional ExtUtils::MakeMaker::Coverage not available\n" if $@;

use lib 'inc';
use MyBuilder;

my $build = MyBuilder->new(
  module_name       => 'File::Monitor',
  dist_author       => 'Andy Armstrong <andy@hexten.net>',
  dist_version_from => 'lib/File/Monitor.pm',
  requires          => {
    'Test::More' => 0,
    'version'    => 0,
  },
  PL_files           => {},
  add_to_cleanup     => [ 'File-Monitor-*' ],
  sign               => 1,
  license            => 'perl',
  create_readme      => 1,
  create_makefile_pl => 'traditional',
);

$build->create_build_script;

sub license {
  my $lic = shift;
  local $^W = 0;    # Silence warning about non-numeric version
  return
   unless $ExtUtils::MakeMaker::VERSION >= '6.31';
  return ( LICENSE => $lic );
}

