homebrew-core/Formula/hubflow.rb
Mike Naberezny 25da6007b9 hubflow: use full path of executable
Closes Homebrew/homebrew#29463.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-21 14:17:14 -07:00

17 lines
391 B
Ruby

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.2'
def install
ENV['INSTALL_INTO'] = libexec
system "./install.sh", "install"
bin.write_exec_script libexec/'git-hf'
end
test do
system bin/"git-hf", "version"
end
end