gbrlsnchs / pilgo

Configuration-based dotfiles manager
MIT License
85 stars 4 forks source link

Provide Homebrew formula for macOS #4

Open alexruf opened 4 years ago

alexruf commented 4 years ago

It would be great to provide a Homebrew formula so that macOS users can easily install and update Pilgo via the brew command.

https://docs.brew.sh/Adding-Software-to-Homebrew

gbrlsnchs commented 4 years ago

Hi @alexruf, thanks for opening this important issue.

I have a question about this: can the macOS formulae be validated using Homebrew on Linux? I don't have a device with macOS. 😬

alexruf commented 4 years ago

To be honest - I don't know. I have never used Homebrew on Linux. But instead of pushing your formula directly to the official Homebrew repo, I would anyway recommend to create your own custom tap. A tap in Homebrew is a third party Git repo, hosting formulas not part of the offical package index. Those taps can be added from users as needed. As an example: I am using the tap adoptopenjdk/openjdk to install AdoptOpenJDK.

This way you can just push your Pilgo formula to your own repo without the need of getting the PR merged, and users can test it for you.

gbrlsnchs commented 4 years ago

@alexruf, thanks for the info on taps. I'll give it a try soon, as I'd love to distribute Pilgo on macOS via Homebrew.

DrBoyle commented 4 years ago

I can make a formula for you. All I need is a list of any dependencies, as well as build dependencies, and language dependencies/library's your using. If you could add them to the README or something that would be great. Thanks!

gbrlsnchs commented 4 years ago

Thanks, @DrBoyle! That would be of great help. I'll update the README with everything needed and will ping you back here when I finish it. 😄