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

Otherwise the dependencies are read incorrectly on Linux when we're trying to analyse Homebrew.
10 lines
301 B
Ruby
10 lines
301 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
# This logic will need to be more nuanced if this file includes more than `uses_from_macos`.
|
|
if OS.mac? || Homebrew::EnvConfig.force_homebrew_on_linux?
|
|
require "extend/os/mac/software_spec"
|
|
elsif OS.linux?
|
|
require "extend/os/linux/software_spec"
|
|
end
|