diff options
| author | Baptiste Fontaine | 2015-04-17 22:27:56 +0200 |
|---|---|---|
| committer | Tim D. Smith | 2015-04-17 23:18:55 -0700 |
| commit | 219ea1579e6e2702e627b313aca8329cceb674fc (patch) | |
| tree | dec8679826370892c05964da2d074f48892905c1 /Library | |
| parent | e1278ec572e4637de44c8825dcdfb417e30223cf (diff) | |
| download | homebrew-219ea1579e6e2702e627b313aca8329cceb674fc.tar.bz2 | |
git-sh: test added
Closes #38765.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/git-sh.rb | 14 |
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 |
