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

  depends_on 'valgrind' => :build

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