Build with Magefile #104341

Merged
Sybren A. Stüvel merged 26 commits from magefile into main 2024-10-04 21:59:46 +02:00
Showing only changes of commit 20a10866d8 - Show all commits

View File

@ -87,7 +87,7 @@ func build(exePackage string) error {
args := []string{"build", "-v"} args := []string{"build", "-v"}
args = append(args, flags...) args = append(args, flags...)
args = append(args, exePackage) args = append(args, exePackage)
return sh.Run("go", args...) return sh.Run(mg.GoCmd(), args...)
} }
func buildFlags() ([]string, error) { func buildFlags() ([]string, error) {