Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update formula for veracode-cli version 2.26.0 #41

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions Formula/veracode-cli.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
class VeracodeCli < Formula
desc "You use the Veracode CLI to perform various actions for testing the security of your applications."

Check failure on line 2 in Formula/veracode-cli.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

FormulaAudit/Desc: Description is too long. It should be less than 80 characters. The current length is 98.

Check failure on line 2 in Formula/veracode-cli.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

FormulaAudit/Desc: Description shouldn't end with a full stop.
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"

Check failure on line 22 in Formula/veracode-cli.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

FormulaAudit/ComponentsOrder: `on_linux` cannot include `url`. Only `livecheck`, `keg_only`, `disable!`, `deprecate!`, `depends_on`, `conflicts_with`, `fails_with`, `resource`, `patch`, `on_intel`, `on_arm`, `on_macos`, `on_linux`, `on_system`, `on_sequoia`, `on_sonoma`, `on_ventura`, `on_monterey`, `on_big_sur`, `on_catalina`, `on_mojave`, `on_high_sierra`, `on_sierra` and `on_el_capitan` are allowed.
sha256 "7eb96802d03e20d01760fac823ffa1422c2d5760bbe6063f7503564920c4a1fe"

Check failure on line 23 in Formula/veracode-cli.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

FormulaAudit/ComponentsOrder: `on_linux` cannot include `sha256`. Only `livecheck`, `keg_only`, `disable!`, `deprecate!`, `depends_on`, `conflicts_with`, `fails_with`, `resource`, `patch`, `on_intel`, `on_arm`, `on_macos`, `on_linux`, `on_system`, `on_sequoia`, `on_sonoma`, `on_ventura`, `on_monterey`, `on_big_sur`, `on_catalina`, `on_mojave`, `on_high_sierra`, `on_sierra` and `on_el_capitan` are allowed.

def install
bin.install "veracode"
end
end

test do
system "#{bin}/veracode", "version"
end
end
Loading