homebrew-core/Formula/hubflow.rb
Sander Bouwhuis 102cea225c Hubflow 1.5.1 - The GitFlow Tools Adapted For GitHub
Closes Homebrew/homebrew#20846.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-29 09:04:58 -07:00

17 lines
387 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.1'
def install
ENV['INSTALL_INTO'] = libexec
system "./install.sh", "install"
bin.write_exec_script libexec/'git-hf'
end
test do
system "git-hf", "version"
end
end