homebrew-core/Formula/hubflow.rb
2015-06-05 14:47:57 +01:00

19 lines
468 B
Ruby

require 'formula'
# Note: pull from git tag to get submodules
class Hubflow < Formula
desc "GitFlow for GitHub"
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