aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/shunit2.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/shunit2.rb b/Library/Formula/shunit2.rb
new file mode 100644
index 000000000..8b773cb83
--- /dev/null
+++ b/Library/Formula/shunit2.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Shunit2 < Formula
+ 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