Created
May 25, 2019 17:15
-
-
Save garethr/690c696d8293bdaa5b57f0574d6ed6e2 to your computer and use it in GitHub Desktop.
Snyk homebrew formula
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Snyk < Formula | |
desc "Find & fix known vulnerabilities in open-source dependencies" | |
homepage "https://github.com/snyk/snyk" | |
url "https://github.com/snyk/snyk/releases/download/v1.167.2/snyk-macos" | |
version "1.167.2" | |
sha256 "0d3990873060d9bb7acce02e8971ef3abb969c9207264fce1183dfc98e637605" | |
def install | |
mv "snyk-macos", "snyk" | |
bin.install "snyk" | |
end | |
test do | |
system "#{bin}/snyk --version" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment