homebrew-core/Formula/git-secrets.rb

25 lines
834 B
Ruby
Raw Normal View History

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.0.tar.gz"
sha256 "3fac12be9e1cd0f67daf801db17ebd9b1b302c2cc22e3b9c52aca7e55fdcd84f"
head "https://github.com/awslabs/git-secrets.git"
2015-12-24 18:42:59 +00:00
bottle do
cellar :any_skip_relocation
sha256 "167a9368281483ab3b12ef357b8ce902c1504dceba3244856ea0c3f436b89b58" => :el_capitan
sha256 "d3bc63056ae93f0faf6c1ae162325479b87d1bd5be3fe0495f1ae38ae7c9cc87" => :yosemite
sha256 "ed704030babb07a359d332811f9f97b98b48b1bd9e0f82161e2565ea4a949f8d" => :mavericks
end
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
system "git", "init"
system "git", "secrets", "--install"
end
end