2013-02-02 18:23:59 +00:00
|
|
|
class GitTracker < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Integrate Pivotal Tracker into git use"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "https://github.com/stevenharman/git_tracker"
|
|
|
|
url "https://github.com/stevenharman/git_tracker/archive/v1.6.3.tar.gz"
|
|
|
|
sha256 "8864f4a3699c32ff56b3131bfe809a81b7446b2610cf0896015ac49a39b039c9"
|
2013-02-02 18:23:59 +00:00
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
head "https://github.com/stevenharman/git_tracker.git"
|
2013-02-02 18:23:59 +00:00
|
|
|
|
|
|
|
def install
|
2015-08-03 12:55:31 +00:00
|
|
|
rake "standalone:install", "prefix=#{prefix}"
|
2013-02-02 18:23:59 +00:00
|
|
|
end
|
|
|
|
|
2013-03-26 15:51:05 +00:00
|
|
|
test do
|
2014-05-04 19:12:41 +00:00
|
|
|
output = shell_output("#{bin}/git-tracker help")
|
|
|
|
assert_match /git-tracker \d+(\.\d+)* is installed\./, output
|
2013-02-02 18:23:59 +00:00
|
|
|
end
|
|
|
|
end
|