]> git.sur5r.net Git - i3/i3/commitdiff
testcases: add Makefile.PL to automatically install deps via CPAN
authorMaik Fischer <maikf@qu.cx>
Sat, 8 Oct 2011 19:58:37 +0000 (20:58 +0100)
committerMaik Fischer <maikf@qu.cx>
Sat, 8 Oct 2011 19:58:37 +0000 (20:58 +0100)
testcases/Makefile.PL [new file with mode: 0755]

diff --git a/testcases/Makefile.PL b/testcases/Makefile.PL
new file mode 100755 (executable)
index 0000000..4b3f1ad
--- /dev/null
@@ -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 { }