mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -05:00
This allows both "--HEAD" and "-H" to be used consistently, which was the intention in the first place.
17 lines
345 B
Ruby
17 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
|