We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d2f528 commit 40e7d21Copy full SHA for 40e7d21
tooling/tooling.go
@@ -6,6 +6,7 @@ import (
6
"path/filepath"
7
"runtime"
8
9
+ "github.com/magefile/mage/mg"
10
"github.com/magefile/mage/sh"
11
"github.com/pterm/pterm"
12
)
@@ -99,6 +100,9 @@ func RunTool(cmd string, args ...string) error {
99
100
if runtime.GOOS == "windows" {
101
extension = ".exe"
102
}
103
+ if mg.Verbose() {
104
+ return sh.RunV(filepath.Join("_tools", cmd+extension), args...)
105
+ }
106
107
return sh.Run(filepath.Join("_tools", cmd+extension), args...)
108
0 commit comments