homebrew-core/Formula/git-flow.rb
Adam Vandenberg 8c56f544b7 Add ARGV.build_head? and use it.
This allows both "--HEAD" and "-H" to be used consistently, which was the
intention in the first place.
2010-07-16 09:09:39 -07:00

16 lines
345 B
Ruby

require 'formula'
class GitFlow <Formula
if ARGV.build_head?
head 'git://github.com/nvie/gitflow.git', :branch => 'develop'
else
head 'git://github.com/nvie/gitflow.git', :tag => '0.2.1'
version '0.2.1'
end
homepage 'http://github.com/nvie/gitflow'
def install
system "make", "prefix=#{prefix}", "install"
end
end