homebrew-core/Formula/git-secrets.rb
2016-09-24 21:32:16 -04:00

24 lines
922 B
Ruby

class GitSecrets < Formula
desc "Prevents you from committing sensitive information to a git repo"
homepage "https://github.com/awslabs/git-secrets"
url "https://github.com/awslabs/git-secrets/archive/1.2.1.tar.gz"
sha256 "9899907609b227e495725af7cf094cf9e09a8d732945db24ef5558fd0d6ad5ef"
head "https://github.com/awslabs/git-secrets.git"
bottle do
cellar :any_skip_relocation
sha256 "19f150d26c9b84cbecfc64b6659b35cac4cb331ed1b22d43937e466657c5b4e0" => :sierra
sha256 "6a6f3422972f01a5372517fb4a904ace978f1887613c9e453e51b5add7842d22" => :el_capitan
sha256 "ce6027006ba7006afc654a793a79efaeba33ea1b858e062fff5993249ac89d6c" => :yosemite
sha256 "aa6f20339c958f734ef7b9dd6a19e6972ba256561fb34992353111ea3f8a0b45" => :mavericks
end
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
system "git", "init"
system "git", "secrets", "--install"
end
end