@@ -3,7 +3,7 @@ use warnings;
use Module::Build;
die("No support for OS\n")
- if $^O =~ /win/i && $^O !~ /cygwin/i;
+ if $^O =~ /^mswin/i;
my $builder = Module::Build->new(
@@ -1,5 +1,10 @@
Revision history for Test-Command-Simple
+0.05 2015-Jun-07
+ ! It does work on darwin, though.
+ ! Fix the NAME of the module in the POD.
+ ! Fix export of exit_status.
+
0.04 2012-Nov-29
! This method of running subcommands doesn't work hot on
Windows (except cygwin). Instead of hanging the cpantesters,
@@ -12,4 +12,4 @@ t/01-run.t
t/manifest.t
t/pod-coverage.t
t/pod.t
-META.json Module JSON meta-data (added by MakeMaker)
+META.json
@@ -1,41 +1,41 @@
{
- "abstract" : "unknown",
+ "abstract" : "Test external commands (nearly) as easily as loaded modules.",
"author" : [
- "unknown"
+ "Darin McBride <dmcbride@cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112621",
+ "generated_by" : "Module::Build version 0.4204",
"license" : [
- "unknown"
+ "perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"name" : "Test-Command-Simple",
- "no_index" : {
- "directory" : [
- "t",
- "inc"
- ]
- },
"prereqs" : {
"build" : {
"requires" : {
- "ExtUtils::MakeMaker" : 0
+ "Test::More" : "0"
}
},
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : 0
- }
- },
- "runtime" : {
- "requires" : {
- "Test::More" : 0
+ "Module::Build" : "0.42"
}
}
},
+ "provides" : {
+ "Test::Command::Simple" : {
+ "file" : "lib/Test/Command/Simple.pm",
+ "version" : "0.05"
+ }
+ },
"release_status" : "stable",
- "version" : "0.04"
+ "resources" : {
+ "license" : [
+ "http://dev.perl.org/licenses/"
+ ]
+ },
+ "version" : "0.05"
}
@@ -1,22 +1,22 @@
---
-abstract: unknown
+abstract: 'Test external commands (nearly) as easily as loaded modules.'
author:
- - unknown
+ - 'Darin McBride <dmcbride@cpan.org>'
build_requires:
- ExtUtils::MakeMaker: 0
+ Test::More: 0
configure_requires:
- ExtUtils::MakeMaker: 0
+ Module::Build: 0.42
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112621'
-license: unknown
+generated_by: 'Module::Build version 0.4204, CPAN::Meta::Converter version 2.133380'
+license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Test-Command-Simple
-no_index:
- directory:
- - t
- - inc
-requires:
- Test::More: 0
-version: 0.04
+provides:
+ Test::Command::Simple:
+ file: lib/Test/Command/Simple.pm
+ version: 0.05
+resources:
+ license: http://dev.perl.org/licenses/
+version: 0.05
@@ -1,14 +1,14 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3607
+# Note: this file was auto-generated by Module::Build::Compat version 0.4204
use ExtUtils::MakeMaker;
WriteMakefile
(
- 'PL_FILES' => {},
- 'INSTALLDIRS' => 'site',
- 'NAME' => 'Test::Command::Simple',
- 'EXE_FILES' => [],
- 'VERSION_FROM' => 'lib/Test/Command/Simple.pm',
- 'PREREQ_PM' => {
- 'Test::More' => 0
- }
- )
+ 'NAME' => 'Test::Command::Simple',
+ 'VERSION_FROM' => 'lib/Test/Command/Simple.pm',
+ 'PREREQ_PM' => {
+ 'Test::More' => 0
+ },
+ 'INSTALLDIRS' => 'site',
+ 'EXE_FILES' => [],
+ 'PL_FILES' => {}
+)
;
@@ -5,15 +5,15 @@ use strict;
=head1 NAME
-Test::Command - Test external commands (nearly) as easily as loaded modules.
+Test::Command::Simple - Test external commands (nearly) as easily as loaded modules.
=head1 VERSION
-Version 0.04
+Version 0.05
=cut
-our $VERSION = '0.04';
+our $VERSION = '0.05';
use base 'Test::Builder::Module';
use IPC::Open3;
@@ -27,6 +27,7 @@ our @EXPORT = qw(
stderr
rc
run_ok
+ exit_status
);
=head1 SYNOPSIS
@@ -2,9 +2,6 @@
use Test::More tests => 1;
-BAIL_OUT("No support for OS")
- if $^O =~ /win/i && $^O !~ /cygwin/i;
-
BEGIN {
use_ok( 'Test::Command::Simple' ) || print "Bail out!
";
@@ -5,9 +5,6 @@ use warnings;
use Test::More;
-BAIL_OUT("No support for OS")
- if $^O =~ /win/i && $^O !~ /cygwin/i;
-
BEGIN {
use_ok('Test::Command::Simple');
}