mitranim / gow

Missing watch mode for Go commands. Watch Go files and execute a command like "go run" or "go test"
The Unlicense
772 stars 29 forks source link

Publish the binary to a tap #9

Open DblK opened 4 years ago

DblK commented 4 years ago

Recently I have an issue because I did not update the repo of gow on my local machine.

Would it be possible to publish a tap with the binary to it can be easily updated on a system with homebrew?

You can use Go Releaser to automate all the tasks.

Thx for your binary ;)

mitranim commented 4 years ago

Thanks for the tip. Might be a good idea for multiple reasons. For example, one thing that keeps coming up is that not every Go user has $GOPATH/bin added to $PATH, so the installation is cumbersome for some.

Out of curiosity, what prevents you from installing/updating via go get right now? Edit: or did you mean you had an issue because gow didn't get updated, because this requires go get -u, rather than brew upgrade?

DblK commented 4 years ago

I have to use go get -u but because I was working on a project those dependencies were added to the go.mod file. I had to delete them afterwards. Nothing difficult, I should have open another terminal for that but forgot ;).

To be sure nothing prevents me for updating, I just had a hard time figuring out I need to update it because go build was working just fine ;)