Add check to Makefile to abort in a Windows environment (neither i3 nor unix sockets available)

Hopefully, this will stop CPAN Testers emails about failing tests on windows.
next
Michael Stapelberg 2010-06-16 19:40:55 +02:00
parent da94674f8f
commit a3a42f30e1
2 changed files with 6 additions and 2 deletions

View 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;

View 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