v1.1.2
[padre-plugin-autoformat.git] / Build.PL
blob46bf7a2660fce93c9a6018413b699369f1a9e60e
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.
10 use strict;
11 use warnings;
13 use Module::Build;
15 my $builder = Module::Build->new(
16     module_name         => 'Padre::Plugin::Autoformat',
17     license             => 'perl',
18     dist_author         => 'Jerome Quelin <jquelin@gmail.com>',
19     dist_version_from   => 'lib/Padre/Plugin/Autoformat.pm',
20     build_requires => {
21         'Test::More'       => 0,
22         'Text::Autoformat' => 0,
23         'Padre'            => '0.30',
24     },
25     requires => {
26         'File::Basename'        => 0,
27         'File::Spec::Functions' => 0,
28         'Module::Util'          => 0,
29     },
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();