markoff icon indicating copy to clipboard operation
markoff copied to clipboard

Install via `brew cask`

Open philadams-zz opened this issue 8 years ago • 10 comments

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

philadams-zz avatar Mar 02 '16 20:03 philadams-zz

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

kaishin avatar Mar 03 '16 10:03 kaishin

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

philadams-zz avatar Mar 13 '16 19:03 philadams-zz

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

croaky avatar Mar 13 '16 20:03 croaky

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.

keith avatar Mar 13 '16 22:03 keith

+1 yep that'll work :)

philadams-zz avatar Mar 16 '16 01:03 philadams-zz

(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 😁)

adidalal avatar Apr 19 '16 04:04 adidalal

@philadams @keith @adidalal my PR https://github.com/thoughtbot/Markoff/pull/36 should help adress this!

Cbeck527 avatar Jul 15 '16 17:07 Cbeck527

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

FranklinYu avatar Jan 09 '18 06:01 FranklinYu

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.

adidalal avatar Jan 11 '18 01:01 adidalal

Any update on the homebrew plans?

dotWee avatar Jan 17 '22 01:01 dotWee