Skip to content
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
14 changes: 3 additions & 11 deletions Formula/zli.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
require "language/node"
require "os"
require_relative "../lib/git_hub_private_repository_download_strategy"
Expand All @@ -5,25 +5,17 @@
class Zli < Formula
desc "BastionZero cli"
homepage "https://www.bastionzero.com"
url "https://github.com/bastionzero/zli/releases/download/6.36.21/zli-6.36.21.tar.gz",
url "https://github.com/bastionzero/zli/releases/download/6.36.25/zli-6.36.25.tar.gz",
using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "2fc9a5d563dc36028f558650add5a3e7c5045fe381714aa2424827b5ede53b45"
sha256 "d28c0ecfa226c45092b31467cb857df8f4e2b4554feb3dc6deaca212036aa101"
license "Apache-2.0"
head "https://github.com/bastionzero/zli.git", branch: "master"

bottle do
root_url "https://github.com/bastionzero/homebrew-tap/releases/download/zli-6.36.21"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "738d7615bd74be7a3774fc8d3cd985a6f51c559d5e100075a902ccbea89a0586"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "4ec590ff360eed42f1384ffa5bf7a6ac419055aa5515610a10a5bff7b13c6143"
sha256 cellar: :any_skip_relocation, arm64_ventura: "49cdf620908b46db82f6685ef3d96798794d4415b1df5bfc5046ad63912d6ec5"
sha256 cellar: :any_skip_relocation, ventura: "058f82b3f98d0ee03937a49a9b394d20636a9a4e89f491197ab1cf14df65a669"
end

depends_on "go@1.20" => :build
depends_on "node@20" => :build

def install
system "npm", "install", *std_npm_args(prefix: false)
system "npm", "install"

Check failure on line 18 in Formula/zli.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

FormulaAudit/StdNpmArgs: Use `std_npm_args` for npm install

Check failure on line 18 in Formula/zli.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

FormulaAudit/StdNpmArgs: Use `std_npm_args` for npm install
system "npm", "run", "release-prod"

if OS.linux?
Expand Down
Loading