2 # This file is part of Padre::Plugin::Autoformat.
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::Autoformat',
18 dist_author => 'Jerome Quelin <jquelin@gmail.com>',
19 dist_version_from => 'lib/Padre/Plugin/Autoformat.pm',
22 'Text::Autoformat' => 0,
26 'File::Basename' => 0,
27 'File::Spec::Functions' => 0,
30 add_to_cleanup => [ 'Padre-Plugin-Autoformat-*', map { ( '*/' x $_ ) . '*~' } 0..5 ],
31 create_makefile_pl => 'traditional',
33 $builder->add_build_element('png');
35 $builder->create_build_script();