git-utils 1.0 (new formula, import from head-only)

This commit is contained in:
Baptiste Fontaine 2016-04-24 22:20:05 +02:00
parent 3cf1784d2a
commit aa3ada7068

24
Formula/git-utils.rb Normal file
View file

@ -0,0 +1,24 @@
class GitUtils < Formula
desc "Various Git helper utilities"
homepage "https://github.com/ddollar/git-utils"
url "https://github.com/ddollar/git-utils/archive/v1.0.tar.gz"
sha256 "a65252222222981d769fe2b19508e698fac4a0ce72e4ff07e74851e99a8fc813"
head "https://github.com/ddollar/git-utils.git"
bottle :unneeded
conflicts_with "git-extras",
:because => "both install a `git-pull-request` script"
def install
bin.install Dir["git-*"]
end
test do
touch "#{testpath}/somefile"
system "git", "init"
system "git", "wip"
assert_match "wip", shell_output("git last 1")
end
end