25 lines
675 B
Ruby
25 lines
675 B
Ruby
# NOTE: Pull from git tag to get submodules
|
|
class Hubflow < Formula
|
|
desc "GitFlow for GitHub"
|
|
homepage "https://datasift.github.io/gitflow/"
|
|
url "https://github.com/datasift/gitflow.git",
|
|
tag: "1.5.3",
|
|
revision: "ed032438d2100b826d2fd5c8281b5e07d88ab9eb"
|
|
license "BSD-2-Clause"
|
|
head "https://github.com/datasift/gitflow.git"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, all: "5fcc66bfe17f292cb37ee437c016a60c9bc46ff63b8bc5ad5ac13cc649421a94"
|
|
end
|
|
|
|
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
|