ack: cleanup and add test.
This commit is contained in:
parent
28d76b602e
commit
6a7e8a9f63
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue