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

  depends_on 'valgrind' => :build

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