2013-06-27 08:36:09 +00:00
|
|
|
# Note: pull from git tag to get submodules
|
|
|
|
class Hubflow < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "GitFlow for GitHub"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "https://datasift.github.io/gitflow/"
|
|
|
|
url "https://github.com/datasift/gitflow.git", :tag => "1.5.2"
|
|
|
|
head "https://github.com/datasift/gitflow.git"
|
2013-06-27 08:36:09 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-03 12:55:31 +00:00
|
|
|
ENV["INSTALL_INTO"] = libexec
|
2013-06-27 08:36:09 +00:00
|
|
|
system "./install.sh", "install"
|
2015-08-03 12:55:31 +00:00
|
|
|
bin.write_exec_script libexec/"git-hf"
|
2013-06-27 08:36:09 +00:00
|
|
|
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
|