fb01035960
Bit of a hack, but since we don't bottle here it has no material impact beside letting people use whichever local Ruby they wish to rather than being pegged to system Rubies. Fixes https://github.com/Homebrew/legacy-homebrew/pull/50186/files#r70186049.
21 lines
525 B
Ruby
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
|