guumaster / hostctl

Your dev tool to manage /etc/hosts like a pro!
http://guumaster.github.io/hostctl
MIT License
1.05k stars 45 forks source link

Installation via brew #15

Closed devopsbrett closed 4 years ago

devopsbrett commented 4 years ago

Hi, to remain in line with other projects that provide a brew tap might I suggest creating another repo called homebrew-tap. This would allow you a central point for all your homebrew formulae (I hope you go on to create more projects, this one is great) as well as allowing users to install hostctl as well as subscribe to your tap with a single command brew install guumaster/tap/hostctl. This is the same way goreleaser does it (Gotta love a tool that "eats its own dogfood").

guumaster commented 4 years ago

I've created the new repo. Now I'll see how to change the Github Action to publish to it.

devopsbrett commented 4 years ago

Sorry, there was a slight change to my initial naming scheme. I was following the style used by github/gh but I feel the implementation used by goreleaser is better so the repo should now be called homebrew-tap

guumaster commented 4 years ago

thanks, already renamed.

devopsbrett commented 4 years ago

If you could leave this issue open for a little bit I'll post a gif showing the install procedure using the new repo

guumaster commented 4 years ago

Ok, but it's not yet working, as the workflow don't have permissions to push to the separate repo. I'm checking how to fix it.

guumaster commented 4 years ago

The new repo is created and populated automatically on guumaster/homebrew-tap.

Can you try installing it from there?

Thanks for your contribution! :tada:

devopsbrett commented 4 years ago

Hi @guumaster, nice work. That all seems to be working well hostctl