1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00

Merge pull request #246 from goreleaser/builderrmsg

Clearify build failed error message (cc #244).
This commit is contained in:
jorin 2017-05-28 17:13:11 +02:00 committed by GitHub
commit 1110e3f259

View File

@ -91,7 +91,7 @@ func run(target buildTarget, command, env []string) error {
"GOARM="+target.goarm,
)
if out, err := cmd.CombinedOutput(); err != nil {
return fmt.Errorf("build failed: %v\n%v", target, string(out))
return fmt.Errorf("build failed: %s/%s %s\n%v", target.goos, target.goarch, target.goarm, string(out))
}
return nil
}