Merge pull request #8019 from vidusheeamoli/set-os-to-true
sorbet: set os.rb to true
This commit is contained in:
commit
531eb4753d
@ -229,7 +229,6 @@ false:
|
||||
- ./lock_file.rb
|
||||
- ./migrator.rb
|
||||
- ./missing_formula.rb
|
||||
- ./os/linux.rb
|
||||
- ./os/mac.rb
|
||||
- ./os/mac/keg.rb
|
||||
- ./os/mac/mach.rb
|
||||
@ -499,11 +498,8 @@ false:
|
||||
- ./messages.rb
|
||||
- ./mktemp.rb
|
||||
- ./options.rb
|
||||
- ./os.rb
|
||||
- ./os/linux/elf.rb
|
||||
- ./os/linux/glibc.rb
|
||||
- ./os/linux/global.rb
|
||||
- ./os/linux/kernel.rb
|
||||
- ./os/mac/architecture_list.rb
|
||||
- ./pkg_version.rb
|
||||
- ./requirements/arch_requirement.rb
|
||||
@ -879,6 +875,10 @@ true:
|
||||
- ./locale.rb
|
||||
- ./metafiles.rb
|
||||
- ./official_taps.rb
|
||||
- ./os.rb
|
||||
- ./os/linux.rb
|
||||
- ./os/linux/glibc.rb
|
||||
- ./os/linux/kernel.rb
|
||||
- ./rubocops/cask/ast/cask_header.rb
|
||||
- ./rubocops/cask/ast/stanza.rb
|
||||
- ./rubocops/cask/constants/stanza.rb
|
||||
|
||||
14
Library/Homebrew/sorbet/rbi/os.rbi
Normal file
14
Library/Homebrew/sorbet/rbi/os.rbi
Normal file
@ -0,0 +1,14 @@
|
||||
# typed: true
|
||||
|
||||
module OS
|
||||
module Linux
|
||||
include Kernel
|
||||
|
||||
def which(cmd, path = ENV["PATH"])
|
||||
end
|
||||
end
|
||||
|
||||
module Mac
|
||||
include Kernel
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user