mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

- move some things out of `extend` that don't really fit there e.g. `Module`s that are included but not doing any overriding/monkeypatching - move some code into `extend/os` to fix all remaining `rubocop:todo Homebrew/MoveToExtendOS`s - remove some unneeded `bundle` skipper code that doesn't really make sense given our current bottling strategy - extract some `Pathname` extensions to `extend/pathname` for separate files - move a `ENV` `Kernel` extension into `kernel.rb` - `odeprecate` a seemingly unused backwards compatibility method - move `readline_nonblock` from a monkeypatch to a `ReadlineNonblock.read` method as its only used in one place - fix up a link in documentation
24 lines
472 B
Ruby
24 lines
472 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
module OS
|
|
module Linux
|
|
module DevCmd
|
|
module Tests
|
|
extend T::Helpers
|
|
|
|
requires_ancestor { Homebrew::DevCmd::Tests }
|
|
|
|
private
|
|
|
|
sig { params(bundle_args: T::Array[String]).returns(T::Array[String]) }
|
|
def os_bundle_args(bundle_args)
|
|
non_macos_bundle_args(bundle_args)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
Homebrew::DevCmd::Tests.prepend(OS::Linux::DevCmd::Tests)
|