8c56f544b7
This allows both "--HEAD" and "-H" to be used consistently, which was the intention in the first place.
16 lines
345 B
Ruby
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
|