aboutsummaryrefslogblamecommitdiff
path: root/Formula/fallible-latest.rb
blob: d74dbfd6c94fcdd75dae95e1b5ad04793a4955bd (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-36ce6dfbe285bc344e30ff6bdad2994c72d10112.tar.gz'
  sha256 '85855adf97fdfb0bfd22bbb9f4ea8ca35f32d5e52963223e12ee8f9ef7dec4a0'
  license 'AGPL-3.0-or-later'

  depends_on 'valgrind' => :build

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