Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support homebrew on linux with formula #20

Merged
merged 2 commits into from
Sep 6, 2020
Merged

Conversation

rothgar
Copy link
Contributor

@rothgar rothgar commented Sep 4, 2020

Update adds support for brew install on Linux.

You may also want to look at using https://goreleaser.com/ to simplify some of the complexity in managing a custom script.

Update adds support for `brew install` on Linux
Copy link
Member

@tomzo tomzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rothgar

Thanks a lot for the contribution.

I appreciate the suggestion - we'll look into goreleaser, it might make the whole ./tasks files shorter.

@rothgar
Copy link
Contributor Author

rothgar commented Sep 4, 2020

Here's an example of goreleaser for a project I worked on in the past.

https://github.com/disneystreaming/ssm-helpers/blob/v1/.goreleaser.yml#L36

It'll automatically make Linux friendly formula and also verify x86 vs arm. Goreleaser also has some nice ways to cross compile binaries.

https://github.com/disneystreaming/homebrew-tap/blob/master/Formula/ssm-helpers.rb

@tomzo tomzo merged commit b39095b into kudulab:master Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants