git-quick-stats 1.0.1 (new formula) (#10011)
This commit is contained in:
parent
3584718a33
commit
b419c52c9d
1 changed files with 19 additions and 0 deletions
19
Formula/git-quick-stats.rb
Normal file
19
Formula/git-quick-stats.rb
Normal file
|
@ -0,0 +1,19 @@
|
|||
class GitQuickStats < Formula
|
||||
desc "Simple and efficient way to access statistics in git."
|
||||
homepage "https://github.com/arzzen/git-quick-stats"
|
||||
url "https://github.com/arzzen/git-quick-stats/archive/1.0.1.tar.gz"
|
||||
sha256 "397fabda3e894bf058767e32114ce8496ecf23f088e6de6203cae4486e1f755b"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
def install
|
||||
bin.install "git-quick-stats"
|
||||
end
|
||||
|
||||
test do
|
||||
system "git", "init"
|
||||
assert_match "All branches (sorted by most recent commit)",
|
||||
shell_output("#{bin}/git-quick-stats branchesByDate")
|
||||
assert_match /^Invalid argument/, shell_output("#{bin}/git-quick-stats command")
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue