-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
/
git-tracker.rb
25 lines (21 loc) · 979 Bytes
/
git-tracker.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 "b99c9fa3e5e35a59659091162620299a1f39f6e36b25e05e71cdc2989157d66d" => :high_sierra
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