sloccount: add test

This commit is contained in:
mikit 2018-03-19 07:14:48 +09:00 committed by ilovezfs
parent 983431d639
commit ba6070398b

View file

@ -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__