git-flow: use tarball for bash completion

This commit is contained in:
Adam Vandenberg 2012-03-01 06:57:32 -08:00
parent 5342c1f2f0
commit 829e588c9d

View file

@ -2,21 +2,16 @@ require 'formula'
class GitFlowCompletion < Formula
homepage 'https://github.com/bobthecow/git-flow-completion'
url 'https://github.com/bobthecow/git-flow-completion.git', :tag => '0.4.1.0'
version '0.4.1.0'
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'
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
end
class GitFlow < Formula
homepage 'https://github.com/nvie/gitflow'
# Use the tag instead of the tarball to get the submodule
url 'https://github.com/nvie/gitflow.git', :tag => '0.4.1'
version '0.4.1'