aboutsummaryrefslogblamecommitdiff
path: root/Formula/fallible-latest.rb
blob: ef2bdf2f3121884deb75638a9c830bc07273fe23 (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-b52330dcc139315ce51c230ad436dccdd1459fbe.tar.gz'
  sha256 '841a74ceb1f8e44d6d9ef4e710f049f59539545c1f11e59f4bfa5a953d3a5b41'
  license 'AGPL-3.0-or-later'

  depends_on 'valgrind' => :build

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