sloccount: add test
This commit is contained in:
parent
983431d639
commit
ba6070398b
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,10 @@ class Sloccount < Formula
|
|||
system "make", "install", "PREFIX=#{prefix}"
|
||||
(bin+"erlang_count").write "#!/bin/sh\ngeneric_count '%' $@"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/sloccount", "--version"
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
|
|
Loading…
Reference in a new issue