diff --git a/cmd/portable-package.rb b/cmd/portable-package.rb index 78e39ec..0022049 100755 --- a/cmd/portable-package.rb +++ b/cmd/portable-package.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "abstract_command" @@ -20,6 +21,7 @@ class PortablePackageCmd < AbstractCommand named_args :formula, min: 1 end + sig { override.void } def run ENV["HOMEBREW_DEVELOPER"] = "1" diff --git a/cmd/portable-package.rbi b/cmd/portable-package.rbi new file mode 100644 index 0000000..8eeb602 --- /dev/null +++ b/cmd/portable-package.rbi @@ -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