testcases: add Makefile.PL to automatically install deps via CPAN

This commit is contained in:
Maik Fischer 2011-10-08 20:58:37 +01:00
parent 0a1a32e06a
commit 19b13a0af5

20
testcases/Makefile.PL Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/env perl
use strict; use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'i3 testsuite',
MIN_PERL_VERSION => '5.010000', # 5.10.0
PREREQ_PM => {
'AnyEvent' => 0,
'AnyEvent::I3' => '0.08',
'X11::XCB' => '0.03',
'Test::Most' => 0,
'Test::Deep' => 0,
'EV' => 0,
},
# don't install any files from this directory
PM => {},
);
# and don't run the tests while installing
sub MY::test { }