Created
December 20, 2011 22:17
-
-
Save putermancer/1503545 to your computer and use it in GitHub Desktop.
homebrew Formula to install blove's fork of gitflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class GitFlowCompletion < Formula | |
homepage 'https://github.com/bobthecow/git-flow-completion' | |
url 'https://github.com/bobthecow/git-flow-completion/tarball/0.4.1.0' | |
md5 '95c05d1a278c1c41067bd7cc6c281ecd' | |
head 'https://github.com/bobthecow/git-flow-completion.git', :branch => 'develop' | |
end | |
class BloveGitFlow < Formula | |
homepage 'https://github.com/bloveridge/gitflow' | |
# Use the tag instead of the tarball to get the submodule | |
url 'https://github.com/bloveridge/gitflow.git', :branch => 'blove' | |
version '0.4.1-blove' | |
head 'https://github.com/bloveridge/gitflow.git', :branch => 'develop' | |
def install | |
system "make", "prefix=#{prefix}", "install" | |
GitFlowCompletion.new.brew do | |
(prefix+'etc/bash_completion.d').install "git-flow-completion.bash" | |
(share+'zsh/functions').install "git-flow-completion.zsh" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment