homebrew-core/Formula/aha.rb

24 lines
827 B
Ruby
Raw Normal View History

class Aha < Formula
desc "ANSI HTML adapter"
homepage "https://github.com/theZiz/aha"
url "https://github.com/theZiz/aha/archive/0.4.10.2.tar.gz"
sha256 "11dcadd98da52fa0ede774162f2172e41cc75ff62b0354d7d98d08478897f417"
head "https://github.com/theZiz/aha.git"
2014-11-03 01:05:41 +00:00
bottle do
2016-02-23 11:31:58 +00:00
cellar :any_skip_relocation
2016-11-15 21:46:49 +00:00
sha256 "d5cada08a5d44ec9b8117c630093c6c0fcd9af9d6f00e18e90f49737ff2becdf" => :sierra
sha256 "284105b95fdba331bcedf225809c3d8d37d595c16bcdac2723453a0657699030" => :el_capitan
sha256 "dfad261666c610f17e852d93538e7c561abdc5db6eb6bda3c3f078f8b6a09553" => :yosemite
2014-11-03 01:05:41 +00:00
end
def install
system "make", "install", "PREFIX=#{prefix}", "MANDIR=#{man}"
end
test do
2014-05-04 19:12:41 +00:00
out = pipe_output(bin/"aha", "rainpill")
assert_match(/color:purple;">rain.*color:blue;">pill/, out)
end
end