flosell/trailscraper

Homebrew support

nitrocode opened this issue · 5 comments

Would be nice to install using

brew install trailscraper

For anyone who wants this, feel free to use this PR I made to parliament as a reference. duo-labs/parliament#111

Hi @nitrocode, similar to our conversation on my other project, agreed, this would be very helpful and I'm happy to support this however I can.
However, I'd appreciate some help with the initial submission due to homebrews policy against self-submitting.

@flosell We can take a different approach instead of submitting it to homebrew proper. You can add a folder in the root of the repository titled HomebrewFormula or Formula with the trailscraper.rb in it, generated by homebrew-pypi-poet. Then users can run:

brew tap flosell/trailscraper https://github.com/flosell/trailscraper
brew install trailscraper

... and it will upgrade for them.

I also did this here: https://github.com/salesforce/cloudsplaining/blob/master/.github/workflows/publish.yml#L60

Homebrew PR is merged, brew install trailscraper works now! Thank you @nitrocode for contributing this!