aboutsummaryrefslogtreecommitdiff
path: root/Formula/fallible-latest.rb
blob: ef9f7918ff83eb948ea9d287fd790a0e2695ba0f (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class FallibleLatest < Formula
  desc 'Fault injection library for stress-testing failure scenarios'
  homepage 'https://fallible.euandreh.xyz'
  url 'https://git.euandreh.xyz/fallible/snapshot/fallible-b8515153fa2a9b57690b12c983d12c342cbf25c9.tar.gz'
  sha256 '71c5d4bb471369f2080a68f97e8071f59b08780de6243fdf1c74e95cf0a79e3b'
  license 'AGPL-3.0-or-later'

  depends_on 'valgrind' => :build

  def install
    system 'make'
    system 'make', 'check'
    system 'make', 'install', "PREFIX=#{prefix}"
  end
end