From 19b13a0af5264462bd339d8d64a0def7a7600a8e Mon Sep 17 00:00:00 2001 From: Maik Fischer Date: Sat, 8 Oct 2011 20:58:37 +0100 Subject: [PATCH] testcases: add Makefile.PL to automatically install deps via CPAN --- testcases/Makefile.PL | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 testcases/Makefile.PL 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 { }