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.
15 my $builder = Module::Build->new(
16 module_name => 'Padre::Plugin::Nopaste',
18 dist_author => 'Jerome Quelin <jquelin@gmail.com>',
19 dist_version_from => 'lib/Padre/Plugin/Nopaste.pm',
25 'File::Basename' => 0,
26 'File::Spec::Functions' => 0,
29 'Padre::Plugin' => '0.28',
30 'Padre::Task' => '0.30',
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();