From 2c3164bdb76bc0eaddcbe4d2a595c24a2ecff633 Mon Sep 17 00:00:00 2001 From: Sander Bouwhuis Date: Thu, 27 Jun 2013 10:36:09 +0200 Subject: Hubflow 1.5.1 - The GitFlow Tools Adapted For GitHub Closes #20846. Signed-off-by: Adam Vandenberg --- Library/Formula/hubflow.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/hubflow.rb (limited to 'Library/Formula') diff --git a/Library/Formula/hubflow.rb b/Library/Formula/hubflow.rb new file mode 100644 index 000000000..617186f2c --- /dev/null +++ b/Library/Formula/hubflow.rb @@ -0,0 +1,17 @@ +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 -- cgit v1.2.3