Skip to content

Commit 59e92ac

Browse files
committed
builder: log wizer command line if -x
1 parent 3ebd96c commit 59e92ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

builder/build.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,10 @@ func Build(pkgName, outpath, tmpdir string, config *compileopts.Config) (BuildRe
867867
"-o", resultWizer,
868868
)
869869

870+
if config.Options.PrintCommands != nil {
871+
config.Options.PrintCommands(goenv.Get("WIZER"), args...)
872+
}
873+
870874
cmd := exec.Command(goenv.Get("WIZER"), args...)
871875
cmd.Stdout = os.Stdout
872876
cmd.Stderr = os.Stderr

0 commit comments

Comments
 (0)