aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/git-sh.rb14
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/git-sh.rb b/Library/Formula/git-sh.rb
index 4b4491691..d20e47b19 100644
--- a/Library/Formula/git-sh.rb
+++ b/Library/Formula/git-sh.rb
@@ -1,14 +1,16 @@
-require 'formula'
-
class GitSh < Formula
- homepage 'https://github.com/rtomayko/git-sh'
- url 'https://github.com/rtomayko/git-sh/archive/1.3.tar.gz'
- sha1 'b96801ed2a63ef510583e7f1c1b4bc234d991507'
+ homepage "https://github.com/rtomayko/git-sh"
+ url "https://github.com/rtomayko/git-sh/archive/1.3.tar.gz"
+ sha256 "461848dfa52ea6dd6cd0a374c52404b632204dc637cde17c0532529107d52358"
- head 'https://github.com/rtomayko/git-sh.git'
+ head "https://github.com/rtomayko/git-sh.git"
def install
system "make"
system "make", "install", "PREFIX=#{prefix}"
end
+
+ test do
+ system "#{bin}/git-sh", "-c", "ls"
+ end
end