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

provide install via Homebrew #60

Open
zachvalenta opened this issue Mar 11, 2023 · 2 comments
Open

provide install via Homebrew #60

zachvalenta opened this issue Mar 11, 2023 · 2 comments

Comments

@zachvalenta
Copy link

Project looks great, just thinking it would be nice to have install available via os package manager as well.

@pedrozath
Copy link
Owner

Great idea, will work on that

@zachvalenta
Copy link
Author

rough sketch of how to go about this:

class Coltrane < Formula
    desc "🎹🎸A music theory library with a command-line interface"
    homepage "https://github.com/pedrozath/coltrane"
  
    on_macos do
      on_arm do
        url "$URL"
        sha256 "$SHA"
      end
      on_intel do
        url "$URL"
        sha256 "$SHA"
      end
    end

    on_linux do
      on_intel do
        url "$URL"
        sha256 "$SHA"
      end
    end
    
    def install
      bin.install "coltrane"
    end
  end

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

No branches or pull requests

2 participants