git-flow AVH 1.4.2
Closes Homebrew/homebrew#16876. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
5cce63e6da
commit
fcdefce50b
2 changed files with 29 additions and 0 deletions
27
Formula/git-flow-avh.rb
Normal file
27
Formula/git-flow-avh.rb
Normal file
|
@ -0,0 +1,27 @@
|
|||
require 'formula'
|
||||
|
||||
class GitFlowAvh < Formula
|
||||
homepage 'https://github.com/petervanderdoes/gitflow'
|
||||
url 'https://github.com/petervanderdoes/gitflow/archive/1.4.2.tar.gz'
|
||||
sha1 '8ea7ac31e062ff01de6203d30de9fc049891589e'
|
||||
|
||||
head 'https://github.com/petervanderdoes/gitflow.git', :branch => 'develop'
|
||||
|
||||
depends_on 'gnu-getopt'
|
||||
|
||||
conflicts_with 'git-flow'
|
||||
|
||||
def install
|
||||
system "make", "prefix=#{prefix}", "install"
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
Create a ~/.gitflow_export file with the content
|
||||
alias getopt="$(brew --prefix gnu-getopt)/bin/getopt"
|
||||
EOS
|
||||
end
|
||||
|
||||
def test
|
||||
system "#{bin}/git-flow version"
|
||||
end
|
||||
end
|
|
@ -17,6 +17,8 @@ class GitFlow < Formula
|
|||
|
||||
head 'https://github.com/nvie/gitflow.git', :branch => 'develop'
|
||||
|
||||
conflicts_with 'git-flow-avh'
|
||||
|
||||
def install
|
||||
system "make", "prefix=#{prefix}", "install"
|
||||
|
||||
|
|
Loading…
Reference in a new issue