aboutsummaryrefslogblamecommitdiff
path: root/Formula/fallible-latest.rb
blob: c5f5b10cc05de6233055346c6fbd4b799a1e2da1 (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://euandreh.xyz/fallible.git/snapshot/fallible-76c74b3cf29bf9e7c62b328c2bcdcff534e5b663.tar.gz'
  sha256 'f0149dcd654d31ef2eedaa19731ab7d353078826d7108e46458d4bf93d902c38'
  license 'AGPL-3.0-or-later'

  depends_on 'valgrind' => :build

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