17 lines
446 B
Ruby
17 lines
446 B
Ruby
class Shunit2 < Formula
|
|
desc "xUnit unit testing framework for Bourne-based shell scripts"
|
|
homepage "https://github.com/kward/shunit2"
|
|
url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/shunit2/shunit2-2.1.6.tgz"
|
|
sha256 "65a313a76fd5cc1c58c9e19fbc80fc0e418a4cbfbd46d54b35ed5b6e0025d4ee"
|
|
|
|
bottle :unneeded
|
|
|
|
def install
|
|
bin.install "src/shunit2"
|
|
end
|
|
|
|
test do
|
|
system bin/"shunit2"
|
|
end
|
|
end
|