From: Maik Fischer Date: Sat, 8 Oct 2011 19:58:37 +0000 (+0100) Subject: testcases: add Makefile.PL to automatically install deps via CPAN X-Git-Tag: 4.1~114^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19b13a0af5264462bd339d8d64a0def7a7600a8e;p=i3%2Fi3 testcases: add Makefile.PL to automatically install deps via CPAN --- diff --git a/testcases/Makefile.PL b/testcases/Makefile.PL new file mode 100755 index 00000000..4b3f1ade --- /dev/null +++ b/testcases/Makefile.PL @@ -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 { }