aboutsummaryrefslogblamecommitdiff
path: root/Formula/fallible-latest.rb
blob: 2699b8f04484d064b254b00f0400e4f20613c288 (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-7185ea059413b1bd4cb87e1f3c289ea872881ae9.tar.gz'
  sha256 'dc6018dd12f207385e5263580f54187d0ff73555091a4800810dc47d350997ec'
  license 'AGPL-3.0-or-later'

  depends_on 'valgrind' => :build

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