homebrew-core/Formula/aha.rb
ilovezfs e21c5fdf55 aha 0.4.10.1
Closes #6182.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-10-23 02:52:14 -07:00

23 lines
827 B
Ruby
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class Aha < Formula
desc "ANSI HTML adapter"
homepage "https://github.com/theZiz/aha"
url "https://github.com/theZiz/aha/archive/0.4.10.1.tar.gz"
sha256 "afcb7be593c80977c891b13bb6d44e924c84ff0167645ddd533adf705f799463"
head "https://github.com/theZiz/aha.git"
bottle do
cellar :any_skip_relocation
sha256 "de2a2448df45ce8015c32cfa4929e0f7b97a44ccc34cb021007bc079a3c26955" => :sierra
sha256 "ed91f263c063132ffcfda8216a5ace0a6af9bcf02d81d548625b038be7171507" => :el_capitan
sha256 "357dff75a627e45d0c0d23c31b42656ce6db5646791ac3893fc6b6741e469098" => :yosemite
end
def install
system "make", "install", "PREFIX=#{prefix}", "MANDIR=#{man}"
end
test do
out = pipe_output(bin/"aha", "rainpill")
assert_match(/color:purple;">rain.*color:blue;">pill/, out)
end
end