homebrew-core/Formula/ghi.rb

22 lines
525 B
Ruby

class Ghi < Formula
desc "Work on GitHub issues on the command-line"
homepage "https://github.com/stephencelis/ghi"
url "https://github.com/stephencelis/ghi/archive/1.2.0.tar.gz"
sha256 "ffc17cfbdc8b88bf208f5f762e62c211bf8fc837f447354ad53cce39b1400671"
head "https://github.com/stephencelis/ghi.git"
bottle :unneeded
depends_on :ruby => "1.8"
depends_on "pygments.rb" => :ruby
def install
bin.install "ghi"
man1.install "man/ghi.1"
end
test do
system "#{bin}/ghi", "--version"
end
end