homebrew-core/Formula/git-tracker.rb
Andrew Janke 3ad9a0896f Change github /tarball/ URLs to /archive/ for formulae A-K
The `brew audit` check complains about the older /tarball/ URL scheme. Update
formulae to use the new /archive/ URL and update the SHA to match.

Closes Homebrew/homebrew#18813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28 21:02:11 -07:00

20 lines
541 B
Ruby

require 'formula'
class GitTracker < Formula
homepage 'https://github.com/stevenharman/git_tracker'
url 'https://github.com/stevenharman/git_tracker/archive/v1.5.1.tar.gz'
sha1 '2b492583b51fc84186ddb3f72ad363f84d7baf53'
head 'https://github.com/stevenharman/git_tracker.git'
def install
rake 'standalone:install', "prefix=#{prefix}"
end
test do
require 'open3'
Open3.popen3("#{bin}/git-tracker", "test-command") do |_, stdout, _|
"git-tracker is here. How are you?" == stdout.read.strip
end
end
end