aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/hubflow.rb17
1 files changed, 17 insertions, 0 deletions
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