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'
|
2014-09-25 19:02:48 +00:00
|
|
|
head 'https://github.com/datasift/gitflow.git'
|
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
|
2014-05-21 20:34:56 +00:00
|
|
|
system bin/"git-hf", "version"
|
2013-06-27 08:36:09 +00:00
|
|
|
end
|
|
|
|
end
|