Skip to content

Commit

Permalink
git-sh: test added
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#38765.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
  • Loading branch information
bfontaine authored and tdsmith committed Apr 18, 2015
1 parent b1f1e78 commit 7f34cbc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions 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

0 comments on commit 7f34cbc

Please sign in to comment.