This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git


The following commit(s) were added to refs/heads/master by this push:
     new 90a71e4b Print external commands with package name
90a71e4b is described below

commit 90a71e4b2420f41f328b6b7c170e1b7ba986be9b
Author: Andrzej Kaczmarek <[email protected]>
AuthorDate: Fri Oct 25 18:33:12 2024 +0200

    Print external commands with package name
    
    This allows for easy identification of what is being executed during
    build.
---
 newt/builder/extcmd.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newt/builder/extcmd.go b/newt/builder/extcmd.go
index dcad7a40..19b70fe0 100644
--- a/newt/builder/extcmd.go
+++ b/newt/builder/extcmd.go
@@ -176,7 +176,7 @@ func (t *TargetBuilder) execExtCmds(sf stage.StageFunc, 
userSrcDir string,
        }
        defer os.Chdir(pwd)
 
-       util.StatusMessage(util.VERBOSITY_DEFAULT, "Executing %s\n", sf.Name)
+       util.StatusMessage(util.VERBOSITY_DEFAULT, "Executing %s/%s\n", 
sf.Pkg.FullName(), sf.Name)
        if err := util.ShellInteractiveCommand(toks, env, true); err != nil {
                return err
        }

Reply via email to