homebrew-core/Formula/shunit2.rb
2015-06-05 14:47:57 +01:00

16 lines
373 B
Ruby

require 'formula'
class Shunit2 < Formula
desc "xUnit unit testing framework for Bourne-based shell scripts"
homepage 'https://code.google.com/p/shunit2/'
url 'https://shunit2.googlecode.com/files/shunit2-2.1.6.tgz'
sha1 '9cd0e1834b221c378c2f8a6f0baf10410e53680f'
def install
bin.install 'src/shunit2'
end
test do
system "#{bin}/shunit2"
end
end