homebrew-core/Formula/git-secrets.rb
2016-01-21 09:20:52 +00:00

24 lines
834 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.0.1.tar.gz"
sha256 "887cf60afb886a969af87ef807a32eca56c84869a002ef617efd7961af3b8f77"
head "https://github.com/awslabs/git-secrets.git"
bottle do
cellar :any_skip_relocation
sha256 "b6abde5153f03906e0b055a356813aea27e358ac7d4f504af6af2a39433001f6" => :el_capitan
sha256 "f7c7f71e359fce6ee76ff734f88e6520f3d09f13aa5ba40ff76c80c3e72f98af" => :yosemite
sha256 "c482df635611c73d9962a4bd85b9575a0d49223e26f678c66b5b4a00810fbec8" => :mavericks
end
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
system "git", "init"
system "git", "secrets", "--install"
end
end