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.3.tar.gz"
sha256 "135e18a6bd4568fc9e58a02dbd8b18a31a8bf598bdeaf24795d7d2492c4ad5be"
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-20 04:41:45 +00:00
sha256 "56cfd33659adb98e630ead8d9cff6b3345a7f0a0da484a0921827ff1dcacf9c2" => :sierra
sha256 "f553081042955aa96a1fa42fcd7572a17357a0986a8f8a9dfb1799fec0f489c1" => :el_capitan
sha256 "efb7f763bae069d24fdc77942c06cc2267f7b3775b2e6cdf2863ba230dd8350a" => :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