use strict;
use warnings;
use lib 'priv';
use Module::Build::Sqitch;

Module::Build::Sqitch->new(
    module_name        => 'App::Sqitch',
    release_status     => 'unstable',
    license            => 'mit',
    configure_requires => { 'Module::Build' => '0.35' },
    requires           => {
        'perl'                                         => '5.10.1',
        'Config'                                       => 0,
        'Config::GitLike'                              => '1.07',
        'DateTime'                                     => 0,
        'DBI'                                          => 0,
        'File::Basename'                               => 0,
        'File::Copy'                                   => 0,
        'File::HomeDir'                                => 0,
        'File::Path'                                   => 0,
        'File::Spec'                                   => 0,
        'Getopt::Long'                                 => 0,
        'Hash::Merge'                                  => 0,
        'IO::File'                                     => 0,
        'IO::Pager'                                    => 0,
        'IPC::System::Simple'                          => '1.17',
        'List::Util'                                   => 0,
        'Locale::TextDomain'                           => '1.20',
        'Moose'                                        => '1.15',
        'Moose::Util::TypeConstraints'                 => '1.15',
        'Moose::Meta::TypeConstraint::Parameterizable' => '1.15',
        'MooseX::Types::Path::Class'                   => '0.05',
        'namespace::autoclean'                         => '0.11',
        'Path::Class'                                  => 0,
        'Pod::Find'                                    => 0,
        'Pod::Usage'                                   => 0,
        'Role::HasMessage'                             => '0.005',
        'Role::Identifiable::HasIdent'                 => '0.005',
        'Role::Identifiable::HasTags'                  => '0.005',
        'StackTrace::Auto'                             => 0,
        'String::Formatter'                            => 0,
        'Sub::Exporter'                                => 0,
        'Template::Tiny'                               => '0.11',
        'Term::ANSIColor'                              => '2.02',
        'Throwable'                                    => 0,
        'Try::Tiny'                                    => 0,
        'UUID::Tiny'                                   => '1.02',
        'URI'                                          => 0,
    },
    build_requires => {
        'Capture::Tiny'        => '0.12',
        'Module::Build'        => '0.35',
        'Test::Dir'            => 0,
        'Test::Deep'           => 0,
        'Test::File'           => 0,
        'Test::File::Contents' => '0.05',
        'Test::Exception'      => 0,
        'Test::MockModule'     => '0.05',
        'Test::More'           => '0.94',
        'Test::NoWarnings'     => '0.083',
        'File::HomeDir'        => 0,
        'File::Path'           => 0,
        'File::Spec'           => 0,
    },
    no_index   => { directory   => ['priv'] },
    recommends => { 'Test::Pod' => '1.41', },
    meta_merge => {
        resources => {
            homepage   => 'http://sqitch.org/',
            bugtracker => 'http://github.com/theory/sqitch/issues/',
            repository => 'http://github.com/theory/sqitch/',
        }
    },
)->create_build_script;
