homebrew-core/Formula/hubflow.rb
Tom Hughes 51fcdf7709 hubflow: add HEAD
Closes Homebrew/homebrew#32646.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-09-25 18:16:28 -05:00

18 lines
440 B
Ruby

require 'formula'
# Note: pull from git tag to get submodules
class Hubflow < Formula
homepage 'http://datasift.github.io/gitflow/'
url 'https://github.com/datasift/gitflow.git', :tag => '1.5.2'
head 'https://github.com/datasift/gitflow.git'
def install
ENV['INSTALL_INTO'] = libexec
system "./install.sh", "install"
bin.write_exec_script libexec/'git-hf'
end
test do
system bin/"git-hf", "version"
end
end