aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-flow.rb
blob: cd75b1e6a702d0661637e6cd5923d0c540c57291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class GitFlow <Formula
  if ARGV.include? "--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