24 lines
886 B
Ruby
24 lines
886 B
Ruby
class GitTracker < Formula
|
|
desc "Integrate Pivotal Tracker into your Git workflow."
|
|
homepage "https://github.com/stevenharman/git_tracker"
|
|
url "https://github.com/stevenharman/git_tracker/archive/v2.0.0.tar.gz"
|
|
sha256 "ec0a8d6dd056b8ae061d9ada08f1cc2db087e13aaecf4e0d150c1808e0250504"
|
|
|
|
head "https://github.com/stevenharman/git_tracker.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "38f5240121fa53c038034ea9d0ce639f49c6df241727cbc5fbbd6acb48c60ea7" => :sierra
|
|
sha256 "beba888de6c1dad6b4069be93ad1029ce70c24cc241c5b930c6aaf541fd11c4d" => :el_capitan
|
|
sha256 "beba888de6c1dad6b4069be93ad1029ce70c24cc241c5b930c6aaf541fd11c4d" => :yosemite
|
|
end
|
|
|
|
def install
|
|
rake "standalone:install", "prefix=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
output = shell_output("#{bin}/git-tracker help")
|
|
assert_match /git-tracker \d+(\.\d+)* is installed\./, output
|
|
end
|
|
end
|