2013-06-27 08:36:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
# Note: pull from git tag to get submodules
|
|
|
|
class Hubflow < Formula
|
|
|
|
homepage 'http://datasift.github.io/gitflow/'
|
2013-10-01 10:03:49 +00:00
|
|
|
url 'https://github.com/datasift/gitflow.git', :tag => '1.5.2'
|
2013-06-27 08:36:09 +00:00
|
|
|
|
|
|
|
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
|