v0.2.1
[padre-plugin-nopaste.git] / Build.PL
blob3528e13bb8f3ee9913140c3aaeed9981938954e9
2 # This file is part of Padre::Plugin::Nopaste.
3 # Copyright (c) 2009 Jerome Quelin, all rights reserved.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the same terms as Perl itself.
10 use strict;
11 use warnings;
13 use Module::Build;
15 my $builder = Module::Build->new(
16     module_name         => 'Padre::Plugin::Nopaste',
17     license             => 'perl',
18     dist_author         => 'Jerome Quelin <jquelin@gmail.com>',
19     dist_version_from   => 'lib/Padre/Plugin/Nopaste.pm',
20     build_requires => {
21         'Test::More' => 0,
22     },
23     requires => {
24         'App::Nopaste'          => 0,
25         'File::Basename'        => 0,
26         'File::Spec::Functions' => 0,
27         'Module::Util'          => 0,
28         'Padre'                 => '0.28',
29         'Padre::Plugin'         => '0.28',
30         'Padre::Task'           => '0.30',
31         'parent'                => 0,
32     },
33     add_to_cleanup      => [ 'Padre-Plugin-Nopaste-*', map { ( '*/' x $_ ) . '*~' } 0..5 ],
34     create_makefile_pl  => 'traditional',
36 $builder->add_build_element('png');
38 $builder->create_build_script();