aboutsummaryrefslogtreecommitdiff
path: root/Formula/git-update-agent.rb
blob: 32d33220e1cfbf6b2238d31819f309b9953443b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class GitUpdateAgent < Formula
  desc "A simple update overlay for git"
  homepage "https://www.git.flu0r1ne.net/git-update-agent/about/"
  url "https://www.git.flu0r1ne.net/git-update-agent/snapshot/git-update-agent-0.0.6.tar.xz"
  version "0.0.6"
  sha256 "b1a4fab7a79ff73a99e80522340becbe734ff1d4b3a9d6e0fa3bbc56a2e0bd57"
  license "GPL-2.0-only"

  depends_on "git"

  def install
    bin.install "./git-update-agent"
  end

  test do
    # Do something more substantial once test configuration is more modular
    assert_equal "0.0.6", shell_output("#{bin}/git-update-agent --version").strip
  end
end