homebrew-core/Formula/ghi.rb
Mike McQuaid 7a4dabfc1a Use hash rockets again. ()
This restores 1.8 hash rockets because they look nicer with e.g. `depends_on :foo => :bar`
2016-09-24 16:45:48 +01:00

21 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