aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-tracker.rb
blob: 27ebd78d23442b788cc692e08b6ecde9c7aa1c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
    output = shell_output("#{bin}/git-tracker help")
    assert_match /git-tracker \d+(\.\d+)* is installed\./, output
  end
end