aboutsummaryrefslogtreecommitdiff
path: root/Formula/git-update-agent.rb
blob: 6fd1f671f6c2db7693242a4433b1769a14260130 (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.7.tar.xz"
  version "0.0.7"
  sha256 "383035ddcf1e1d242468e7ba9004f5a243d8482b945af1c0766ebc2f131ae9f1"
  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.7", shell_output("#{bin}/git-update-agent --version").strip
  end
end