aboutsummaryrefslogtreecommitdiff
path: root/Formula/git-update-agent.rb
blob: 823d85cb2e1e8125e131eb747b51768f15e7afbe (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 "3593f2b52cbbb44d25d923113f5f8c43044ebae28c7044b05b5927c628d5d09a"
  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