homebrew-core/Formula/git-open.rb

20 lines
540 B
Ruby

class GitOpen < Formula
desc "Open GitHub webpages from a terminal"
homepage "https://github.com/jeffreyiacono/git-open"
url "https://github.com/jeffreyiacono/git-open/archive/v1.3.tar.gz"
sha256 "a1217e9b0a76382a96afd33ecbacad723528ec1116381c22a17cc7458de23701"
license "MIT"
bottle do
sha256 cellar: :any_skip_relocation, all: "b9a415294b615c483c64ea122544f80ccde480db013ced6c62b558c5cdabff74"
end
def install
bin.install "git-open.sh" => "git-open"
end
test do
system "#{bin}/git-open", "-v"
end
end