talisman 1.0.0 (new formula)

Closes #45797.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Krishnaswamy Subramanian 2019-10-25 17:56:44 +05:30 committed by FX Coudert
parent 2613d257fa
commit 2b051aad06

21
Formula/talisman.rb Normal file
View file

@ -0,0 +1,21 @@
class Talisman < Formula
desc "Tool to detect and prevent secrets from getting checked in"
homepage "https://thoughtworks.github.io/talisman/"
url "https://github.com/thoughtworks/talisman",
:using => :git,
:tag => "v1.0.0",
:revision => "dd7b5898f7c4d9013d23d4dbd34685611524ac20"
depends_on "go" => :build
depends_on "gox" => :build
def install
system "./build"
bin.install "./talisman_darwin_amd64" => "talisman"
end
test do
system "git", "init", "."
assert_match "talisman scan report", shell_output(bin/"talisman --scan")
end
end