]> git.sur5r.net Git - i3/i3/commitdiff
Add check to Makefile to abort in a Windows environment (neither i3 nor unix sockets...
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 16 Jun 2010 17:40:55 +0000 (19:40 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 19 Aug 2017 16:13:19 +0000 (18:13 +0200)
Hopefully, this will stop CPAN Testers emails about failing tests on windows.

Makefile.PL
lib/AnyEvent/I3.pm

index 2082ce241e7aca194ec827acb89384e4a0b04caa..8b81a0650b9796a32c96779c83b0754e086ebf85 100644 (file)
@@ -9,4 +9,8 @@ requires 'AnyEvent::Handle';
 requires 'AnyEvent::Socket';
 requires 'JSON::XS';
 
+if ($^O eq 'MSWin32') {
+    die "AnyEvent::I3 cannot be used on win32 (unix sockets are missing)";
+}
+
 WriteAll;
index 953de81e76cc1156db5bbf186c6f2df4ef51b535..61486488929c49d757a952880ebb9865c7e84613 100644 (file)
@@ -15,11 +15,11 @@ AnyEvent::I3 - communicate with the i3 window manager
 
 =cut
 
-our $VERSION = '0.05';
+our $VERSION = '0.06';
 
 =head1 VERSION
 
-Version 0.05
+Version 0.06
 
 =head1 SYNOPSIS