Skip to content

Commit

Permalink
Merge pull request #236 from Homebrew/srb-cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
p-linnane committed Aug 21, 2024
2 parents 2b8c02a + 0981b79 commit 8441bf3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/portable-package.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# typed: strict
# frozen_string_literal: true

require "abstract_command"
Expand All @@ -20,6 +21,7 @@ class PortablePackageCmd < AbstractCommand
named_args :formula, min: 1
end

sig { override.void }
def run
ENV["HOMEBREW_DEVELOPER"] = "1"

Expand Down
11 changes: 11 additions & 0 deletions cmd/portable-package.rbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# typed: strict

class Homebrew::Cmd::PortablePackageCmd
sig { returns(Homebrew::Cmd::PortablePackageCmd::Args) }
def args; end
end

class Homebrew::Cmd::PortablePackageCmd::Args < Homebrew::CLI::Args
sig { returns(T::Boolean) }
def no_uninstall_deps?; end
end

0 comments on commit 8441bf3

Please sign in to comment.