aboutsummaryrefslogblamecommitdiff
path: root/Formula/fallible-latest.rb
blob: d78a7e285e0e2e8c6c5800f77e5a07c1a6ae3295 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                                     

                                                                                                           




                                 

                          
                                                

     
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-9b5eb601ff3ea5d6f07110f1a308479dd4f36149.tar.gz'
  sha256 '6e5396036636835be15df162421e958d1b8363c4a99905e3ebc0fa2fe3556b87'
  license 'AGPL-3.0-or-later'

  depends_on 'valgrind' => :build

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