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

  depends_on 'valgrind' => :build

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