aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJason P. Scharf2013-02-07 11:55:27 -0500
committerAdam Vandenberg2013-03-05 19:50:57 -0800
commit00670ce65ecab456b5c75ecc6482d98a8fc56e00 (patch)
tree9dee9842e092ec578244ca5086885133db3ebd60 /Library/Formula
parent8488301b374b309d0bb97481e7f50a041c54640b (diff)
downloadhomebrew-00670ce65ecab456b5c75ecc6482d98a8fc56e00.tar.bz2
git-flow-clone: updated to work with git-flow-avh
- Removed dependencies and updated caveat - Caveat now uses#{HOMEBREW_PREFIX}/bin Closes #17667. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/git-flow-clone.rb13
1 files changed, 11 insertions, 2 deletions
diff --git a/Library/Formula/git-flow-clone.rb b/Library/Formula/git-flow-clone.rb
index e5abfea64..6bd86a277 100644
--- a/Library/Formula/git-flow-clone.rb
+++ b/Library/Formula/git-flow-clone.rb
@@ -5,9 +5,18 @@ class GitFlowClone < Formula
url 'https://github.com/ashirazi/git-flow-clone/archive/0.1.2.tar.gz'
sha1 'd4d5c106ebd7de8abbee69f0b277ecdfe85e5b6d'
- depends_on 'git-flow'
-
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