
# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.015.
use strict;
use warnings;

use Module::Build 0.28;
use lib qw{inc}; use XML::Grammar::Builder;

my %module_build_args = (
  "build_requires" => {
    "Module::Build" => "0.28"
  },
  "configure_requires" => {
    "Module::Build" => "0.28"
  },
  "dist_abstract" => "convert the FortunesXML grammar to other formats and from plaintext.",
  "dist_author" => [
    "Shlomi Fish <shlomif\@cpan.org>"
  ],
  "dist_name" => "XML-Grammar-Fortune",
  "dist_version" => "0.0802",
  "license" => "mit",
  "module_name" => "XML::Grammar::Fortune",
  "recursive_test_files" => 1,
  "requires" => {
    "Carp" => 0,
    "Fatal" => 0,
    "List::Util" => 0,
    "MooX" => 0,
    "Text::Format" => 0,
    "XML::GrammarBase::Role::RelaxNG" => "v0.2.2",
    "XML::GrammarBase::Role::XSLT" => "v0.2.2",
    "XML::LibXML" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "test_requires" => {
    "Encode" => 0,
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Path::Tiny" => 0,
    "Test::Differences" => 0,
    "Test::More" => "0.88",
    "Test::XML::Ordered" => 0,
    "XML::LibXSLT" => 0,
    "perl" => "5.014"
  }
);


my %fallback_build_requires = (
  "Encode" => 0,
  "File::Spec" => 0,
  "IO::Handle" => 0,
  "IPC::Open3" => 0,
  "Module::Build" => "0.28",
  "Path::Tiny" => 0,
  "Test::Differences" => 0,
  "Test::More" => "0.88",
  "Test::XML::Ordered" => 0,
  "XML::LibXSLT" => 0,
  "perl" => "5.014"
);


unless ( eval { Module::Build->VERSION(0.4004) } ) {
  delete $module_build_args{test_requires};
  $module_build_args{build_requires} = \%fallback_build_requires;
}

my $build = XML::Grammar::Builder->new(%module_build_args);


$build->create_build_script;
