diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 847a186b5..8891ecb46 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -85,3 +85,4 @@ and we will add you. **All** contributors belong here. 💯 * [Tomi Paananen](https://github.com/tompaana) * [Troy Connor](https://github.com/troy0820) * [Phill Gibson](https://github.com/phillipgibson) +* [Ludvig Liljenberg](https://github.com/ludfjig) diff --git a/mage/setup/tools.go b/mage/setup/tools.go index 189f78883..f28289959 100644 --- a/mage/setup/tools.go +++ b/mage/setup/tools.go @@ -57,6 +57,11 @@ func EnsureBufBuild() { "amd64": "x86_64", }, } + + if runtime.GOOS == "windows" { + opts.Ext = ".exe" + } + err := downloads.DownloadToGopathBin(opts) mgx.Must(err) }