aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSander Bouwhuis2013-06-27 10:36:09 +0200
committerAdam Vandenberg2013-06-29 09:04:58 -0700
commit2c3164bdb76bc0eaddcbe4d2a595c24a2ecff633 (patch)
treee5e9d15da5537816efa2fb107de3d157d2d01b68 /Library/Formula
parentb6d48e51543f532150960db5e52322053281848d (diff)
downloadhomebrew-2c3164bdb76bc0eaddcbe4d2a595c24a2ecff633.tar.bz2
Hubflow 1.5.1 - The GitFlow Tools Adapted For GitHub
Closes #20846. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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