ack: cleanup and add test.

This commit is contained in:
Mike McQuaid 2013-01-27 22:36:42 +00:00
parent 28d76b602e
commit 6a7e8a9f63

View file

@ -6,10 +6,14 @@ class Ack < Formula
sha1 '547058c0571095beaee9b2e6a3accad52114e759'
def install
system "pod2man ack ack.1"
system 'pod2man', 'ack', 'ack.1'
man1.install 'ack.1'
bin.install 'ack'
bash_completion.install 'etc/ack.bash_completion.sh'
zsh_completion.install 'etc/ack.zsh_completion' => '_ack'
end
test do
system "#{bin}/ack", 'brew', '/usr/share/dict/words'
end
end