updated turnkey regression testing schema. added comments RE what role
[dbsrgits/SQL-Translator.git] / Makefile.PL
1 package SQL::Translator;
2
3 use strict;
4 use ExtUtils::MakeMaker;
5
6 my @SIGN;
7 if ($ExtUtils::MakeMaker::VERSION >= 6.18) {
8     @SIGN = (SIGN => 1);
9 }
10
11 WriteMakefile(
12     'NAME'         => __PACKAGE__,
13     @SIGN,
14     'VERSION_FROM' => 'lib/SQL/Translator.pm',
15     'EXE_FILES'    => [
16         'bin/sqlt-diagram',
17         'bin/sqlt-diff',
18         'bin/sqlt-dumper',
19         'bin/sqlt-graph',
20         'bin/sqlt',
21     ],
22     'PREREQ_PM'    => {
23         'Class::Base'             => 0,
24         'File::Basename'          => 0,
25         'File::Spec'              => 0,
26         'GD'                      => 0,
27         'GraphViz'                => 0,
28         'IO::Dir'                 => 0,
29         'IO::File'                => 0,
30         'IO::Scalar'              => 0,
31         'Parse::RecDescent'       => 1.94,
32         'Pod::Usage'              => 0,
33         'Spreadsheet::ParseExcel' => 0.2602,
34         'Template'                => 2.10,
35         'Test::More'              => 0,
36         'Test::Exception'         => 0,
37         'Test::Differences'       => 0,
38         'Text::ParseWords'        => 0,
39         'Text::RecordParser'      => 0.02,
40         'XML::Writer'             => 0.500,
41         'XML::XPath'              => 1.13,
42         'YAML'                    => 0,
43     },
44     'clean'        => {
45         FILES => '$(DISTVNAME).tar$(SUFFIX)',
46     },
47 );
48
49 package MY;
50 use File::Basename qw(basename);
51
52 sub libscan {
53     my ($self, $file) = @_;
54     my $bfile = basename($file);
55
56     return if $bfile =~ /^\.(?:cvs)?ignore$/;
57     return if $bfile =~ /\.swp$/;
58
59     return $self->SUPER::libscan($file);
60 }