brew style --fix
This commit is contained in:
parent
82de05fc82
commit
d9d6a74257
@ -72,8 +72,8 @@ SimpleCov.start do
|
||||
|
||||
require "rbconfig"
|
||||
host_os = RbConfig::CONFIG["host_os"]
|
||||
add_filter %r{/os/mac} unless /darwin/.match?(host_os)
|
||||
add_filter %r{/os/linux} unless /linux/.match?(host_os)
|
||||
add_filter %r{/os/mac} unless host_os.include?("darwin")
|
||||
add_filter %r{/os/linux} unless host_os.include?("linux")
|
||||
|
||||
# Add groups and the proper project name to the output.
|
||||
project_name "Homebrew"
|
||||
|
@ -44,8 +44,8 @@ module SystemConfig
|
||||
return unless /-microsoft/i.match?(kernel)
|
||||
|
||||
return "2 (Microsoft Store)" if Version.new(kernel[/Linux ([0-9.]*)-.*/, 1]) > Version.new("5.15")
|
||||
return "2" if /-microsoft/.match?(kernel)
|
||||
return "1" if /-Microsoft/.match?(kernel)
|
||||
return "2" if kernel.include?("-microsoft")
|
||||
return "1" if kernel.include?("-Microsoft")
|
||||
end
|
||||
|
||||
def dump_verbose_config(out = $stdout)
|
||||
|
@ -49,7 +49,7 @@ module FormulaCellarChecks
|
||||
python_modules = Pathname.glob lib/"python*/site-packages/**/*.so"
|
||||
framework_links = python_modules.select do |obj|
|
||||
dlls = obj.dynamically_linked_libraries
|
||||
dlls.any? { |dll| /Python\.framework/.match dll }
|
||||
dlls.any? { |dll| dll.include?("Python.framework") }
|
||||
end
|
||||
return if framework_links.empty?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user