Skip to content

Commit

Permalink
prep for 1.1703 release
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Dec 6, 2008
1 parent 336d7e2 commit 295406b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Revision history for Perl module CPAN::Reporter

1.1703
1.1703 Fri Dec 5 23:06:20 EST 2008

- Changed: Devel::Autoflush only added to PERL5OPT when capturing
output from Makefile.PL or Build.PL
Expand Down
5 changes: 5 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ t/68_is_make.t
t/70_darwin_move_config.t
t/71_missing_config.t
t/72_rename_history.t
t/73_autoflush.t
t/bin/Build.PL
t/bin/Makefile.PL
t/bin/NotBuild.PL
t/bin/NotMakefile.PL
t/dist/custom-NoOutput-NOK/Build.PL
t/dist/custom-NoOutput-NOK/lib/Bogus/Module.pm
t/dist/custom-NoOutput-NOK/Makefile.PL
Expand Down
2 changes: 1 addition & 1 deletion lib/CPAN/Reporter/API.pm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ STDERR) and the return value from system(). Note that this is {$?}, so the
actual exit value of the command will need to be extracted as described in
[perlvar].
If the command matches /\b(?:Makefile|Build)\.PL\b/, then [Devel::Autoflush]
If the command matches /\\b(?:Makefile|Build)\\.PL\\b/, then [Devel::Autoflush]
is added to {PERL5OPT} to force autoflushing of user prompts.
If the command includes a pipe character ('|'), only the part of the
Expand Down
3 changes: 3 additions & 0 deletions lib/CPAN/Reporter/API.pod
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ STDERR) and the return value from system(). Note that this is C<<< $? >>>, so t
actual exit value of the command will need to be extracted as described in
L<perlvar>.

If the command matches E<sol>\b(?:MakefileE<verbar>Build)\.PL\bE<sol>, then L<Devel::Autoflush>
is added to C<<< PERL5OPT >>> to force autoflushing of user prompts.

If the command includes a pipe character ('E<verbar>'), only the part of the
command prior to the pipe will be wrapped and teed. The pipe will be
applied to the execution of the wrapper script. This is essential to
Expand Down

0 comments on commit 295406b

Please sign in to comment.