homebrew-core/Formula/git-flow-clone.rb
Jason P. Scharf 9e8cd0a964 git-flow-clone: updated to work with git-flow-avh
- Removed dependencies and updated caveat
- Caveat now uses#{HOMEBREW_PREFIX}/bin

Closes Homebrew/homebrew#17667.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-05 19:50:57 -08:00

22 lines
599 B
Ruby

require 'formula'
class GitFlowClone < Formula
homepage 'https://github.com/ashirazi/git-flow-clone'
url 'https://github.com/ashirazi/git-flow-clone/archive/0.1.2.tar.gz'
sha1 'd4d5c106ebd7de8abbee69f0b277ecdfe85e5b6d'
def install
system "make", "prefix=#{prefix}", "install"
end
def caveats; <<-EOS.undent
Either git-flow or git-flow-avh (recommended) need to be installed:
brew install git-flow
or:
brew install git-flow-avh
If installed with git-flow-avh update ~/.gitflow_export with:
export GITFLOW_DIR=#{HOMEBREW_PREFIX}/bin
EOS
end
end