mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
31 lines
894 B
Ruby
31 lines
894 B
Ruby
require 'formula'
|
|
|
|
class GitFlowCompletion < Formula
|
|
homepage 'https://github.com/bobthecow/git-flow-completion'
|
|
url 'https://github.com/bobthecow/git-flow-completion/archive/0.4.2.2.tar.gz'
|
|
sha1 'd6a041b22ebdfad40efd3dedafd84c020d3f4cb4'
|
|
|
|
head 'https://github.com/bobthecow/git-flow-completion.git', :branch => 'develop'
|
|
end
|
|
|
|
class GitFlow < Formula
|
|
homepage 'https://github.com/nvie/gitflow'
|
|
|
|
# Use the tag instead of the tarball to get submodules
|
|
url 'https://github.com/nvie/gitflow.git', :tag => '0.4.1'
|
|
version '0.4.1'
|
|
|
|
head 'https://github.com/nvie/gitflow.git', :branch => 'develop'
|
|
|
|
conflicts_with 'git-flow-avh'
|
|
|
|
def install
|
|
system "make", "prefix=#{prefix}", "install"
|
|
|
|
GitFlowCompletion.new('git-flow-completion').brew do
|
|
bash_completion.install "git-flow-completion.bash"
|
|
zsh_completion.install "git-flow-completion.zsh"
|
|
end
|
|
end
|
|
end
|