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 #230

Open
zachvalenta opened this issue Feb 15, 2024 · 2 comments
Open

provide install via Homebrew #230

zachvalenta opened this issue Feb 15, 2024 · 2 comments
Assignees
Labels
type: feature Implements a new feature

Comments

@zachvalenta
Copy link

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

@Builditluc
Copy link
Owner

Yes I think it'll be good to have a package available in Homebrew.
I've read a bit of the documentation on how to add software to it, and when I have time, will add this into the release pipeline!

@Builditluc Builditluc self-assigned this Feb 26, 2024
@zachvalenta
Copy link
Author

rough sketch of how to go about this:

class WikiTui < Formula
    desc "A simple and easy to use Wikipedia Text User Interface"
    homepage "https://wiki-tui.net"
  
    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 "wiki-tui"
    end
  end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Implements a new feature
Projects
Status: Todo
Development

No branches or pull requests

2 participants