From e6963cc42f2f3191387777211901f873d3f93acc Mon Sep 17 00:00:00 2001 From: noushad-vc Date: Wed, 31 Jul 2024 18:22:16 +0000 Subject: [PATCH] Brew formula update for helloworld-cli version 2.26.0 --- Formula/veracode-cli.rb | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Formula/veracode-cli.rb diff --git a/Formula/veracode-cli.rb b/Formula/veracode-cli.rb new file mode 100644 index 0000000..fa6e2da --- /dev/null +++ b/Formula/veracode-cli.rb @@ -0,0 +1,33 @@ +class VeracodeCli < Formula + desc "You use the Veracode CLI to perform various actions for testing the security of your applications." + homepage "https://www.veracode.com" + version "2.26.0" + license "MIT" + + on_macos do + if Hardware::CPU.arm? + url "https://tools.veracode.com/veracode-cli/veracode-cli_2.26.0_macosx_arm64.tar.gz" + sha256 "d3899199dd2f1376621bea4f2f29cddb6a2448a0b374cebdcb7f11d6f2eea4d9" + elsif Hardware::CPU.intel? + url "https://tools.veracode.com/veracode-cli/veracode-cli_2.26.0_macosx_x86.tar.gz" + sha256 "ba3b01010fa509725f65bd0c4226f325cb9e345c872cdc1c4eae882c84aabedd" + end + + def install + bin.install "veracode" + end + end + + on_linux do + url "https://tools.veracode.com/veracode-cli/veracode-cli_2.26.0_linux_x86.tar.gz" + sha256 "7eb96802d03e20d01760fac823ffa1422c2d5760bbe6063f7503564920c4a1fe" + + def install + bin.install "veracode" + end + end + + test do + system "#{bin}/veracode", "version" + end +end