aboutsummaryrefslogtreecommitdiff
path: root/Formula/fallible.rb
blob: f067ed0a7dc01ae178ba6959caa1cad1b02c4c3e (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.3.0.tar.gz'
  sha256 '632357979a4dc4b7166b1ec6d15edebff795f95290cbfc225faa7bc0c3fc105a'
  license 'AGPL-3.0-or-later'

  depends_on 'valgrind' => :build

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