[PATCH 12/17] engine.pl: add debug line to capture the dry-run
- From
Philip Oakley <philipoakley@iee.org>
- Date
- Jun 25, 2015, 00:03 UTC
- Message-ID
- <1435190633-2208-13-git-send-email-philipoakley@iee.org>
- In-Reply-To
- <1435190633-2208-1-git-send-email-philipoakley@iee.org>
Add a debug suggestion for capturing to file the stdout from the dry-run of the make file used in determining the msvc-build structure for easy debugging.
Signed-off-by: Philip Oakley <philipoakley@iee.org> --- contrib/buildsystems/engine.pl | 1 + 1 file changed, 1 insertion(+)
diff --git a/contrib/buildsystems/engine.pl b/contrib/buildsystems/engine.pl index 27884f7..7a2aeef 100644 --- a/contrib/buildsystems/engine.pl +++ b/contrib/buildsystems/engine.pl @@ -76,6 +76,7 @@ EOM # Capture the make dry stderr to file for review (will be empty for a release build). my $ErrsFile = "msvc-build-makedryerrors.txt"; +#@makedry = `cd $git_dir && make -n MSVC=1 NO_PERL=1 V=1 1>makedry.txt 2>$ErrsFile`; # capture the dry run as a text file @makedry = `cd $git_dir && make -n MSVC=1 NO_PERL=1 V=1 2>$ErrsFile` if !@makedry; # test for an empty Errors file and remove it for ($ErrsFile) {unlink $_ if (-f $_) && (!-s $_);}
-- 2.3.1 -- -- *** Please reply-to-all at all times *** *** (do not pretend to know who is subscribed and who is not) *** *** Please avoid top-posting. *** The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free. You received this message because you are subscribed to the Google Groups "msysGit" group. To post to this group, send email to msysgit@googlegroups.com To unsubscribe from this group, send email to msysgit+unsubscribe@googlegroups.com For more options, and view previous threads, visit this group at http://groups.google.com/group/msysgit?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Git for Windows" group. To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.