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.
This commit is contained in:
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;