talisman 1.0.0 (new formula)
Closes #45797. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
2613d257fa
commit
2b051aad06
1 changed files with 21 additions and 0 deletions
21
Formula/talisman.rb
Normal file
21
Formula/talisman.rb
Normal 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
|
Loading…
Reference in a new issue