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

Install via brew cask #12

Open
philadams-zz opened this issue Mar 2, 2016 · 10 comments
Open

Install via brew cask #12

philadams-zz opened this issue Mar 2, 2016 · 10 comments

Comments

@philadams-zz
Copy link

Would love to be able to pull this onto new machines automatically.

@kaishin
Copy link
Owner

kaishin commented Mar 3, 2016

This would be nice indeed, but It's a bit out of my comfort zone. Happy to accept PRs though.

@philadams-zz
Copy link
Author

I think on your side, the key will be #16 - I can then submit a patch to homebrew making it installable in that system.

@croaky
Copy link

croaky commented Mar 13, 2016

Formula would probably go in https://github.com/thoughtbot/homebrew-formulae? Maybe some examples there that could help guide

@keith
Copy link

keith commented Mar 13, 2016

For Markoff the markoff.rb would look something like this:

cask 'markoff' do
  version '1.0.0'
  sha256 'something here via `shasum -a 256 Markoff.zip`'

  url 'a .app download URL'
  appcast 'url if you support sparkle'
  name 'Markoff'
  homepage 'https://github.com/thoughtbot/Markoff'
  license :mit

  app 'Markoff.app'
end

I haven't ever tried having cask formulas in taps, but you might be able to nest them in the Casks directory instead of the Formula one. Otherwise the PRs on the main homebrew-cask repo get in very quick, so it's easier to support there than homebrew itself.

@philadams-zz
Copy link
Author

+1 yep that'll work :)

@adidalal
Copy link

adidalal commented Apr 19, 2016

(Homebrew Cask maintainer here)

A .dmg with the .app bundle/binaries inside, uploaded via Github Releases is probably the most efficient way to get BackgroundMusic in the HBC repo - there's plenty of Casks to model off of, and there is excellent documentation to write your own (but I'm biased 😁)

@Cbeck527
Copy link

@philadams @keith @adidalal my PR #36 should help adress this!

@FranklinYu
Copy link

mas-cli is another way to make use of Homebrew.

@adidalal
Copy link

FYI mas-cli != Homebrew (Cask).

We do know of it, and recommend it for MAS-only apps.

You can add still add it to Homebrew Cask, of course - my earlier comment is still true.

@kaishin kaishin modified the milestones: 3.0, 2.0 Jul 8, 2020
@dotWee
Copy link

dotWee commented Jan 17, 2022

Any update on the homebrew plans?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants