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