From c5fda55beba92c548c78ce16455870a0650ba0eb Mon Sep 17 00:00:00 2001 From: Douglas Creager Date: Thu, 19 Aug 2010 17:49:33 -0400 Subject: Include bash-completion rules for git-flow bobthecow has some bash-completion rules for the git-flow toolset. The formula now installs them. The rules are installed regardless of whether bash-completion is installed; if you're not using bash-completion, you'll just get an extra file lying around in Signed-off-by: Adam Vandenberg --- Library/Formula/git-flow.rb | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'Library/Formula/git-flow.rb') diff --git a/Library/Formula/git-flow.rb b/Library/Formula/git-flow.rb index 96667179a..11ce83007 100644 --- a/Library/Formula/git-flow.rb +++ b/Library/Formula/git-flow.rb @@ -1,5 +1,22 @@ +# -*- coding: utf-8 -*- require 'formula' +class GitFlowCompletion '0.3' + version '0.3' + head 'git://github.com/bobthecow/git-flow-completion.git', :branch => 'develop' + + def initialize + # We need to hard-code the formula name since Homebrew can't + # deduce it from the formula's filename, and the git download + # strategy really needs a valid name. + + super "git-flow-completion" + end + + homepage 'http://github.com/bobthecow/git-flow-completion' +end + class GitFlow '0.3' version '0.3' @@ -9,5 +26,19 @@ class GitFlow