Skip to content

Instantly share code, notes, and snippets.

@garethr
Created May 25, 2019 17:15
Show Gist options
  • Save garethr/690c696d8293bdaa5b57f0574d6ed6e2 to your computer and use it in GitHub Desktop.
Save garethr/690c696d8293bdaa5b57f0574d6ed6e2 to your computer and use it in GitHub Desktop.
Snyk homebrew formula
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