homebrew-core/Formula/git-tracker.rb
Steven Harman ea73e479b9 git-tracker 1.6.3
Closes Homebrew/homebrew#28023.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-31 22:10:07 -05:00

21 lines
629 B
Ruby

require 'formula'
class GitTracker < Formula
homepage 'https://github.com/stevenharman/git_tracker'
url 'https://github.com/stevenharman/git_tracker/archive/v1.6.3.tar.gz'
sha1 'c748e564f176165dba2498637e0b99f27647b88a'
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", "help") do |_, stdout, _|
install_message = /\Agit-tracker \d+(\.\d+)* is installed\.\z/
assert install_message.match(stdout.readline.strip), "git-tracker is not installed"
end
end
end