Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
b38f5b3e
Commit
b38f5b3e
authored
8 years ago
by
Mike McQuaid
Browse files
Options
Downloads
Patches
Plain Diff
diagnostic: only make minimum Xcode/CLT version checks fatal.
Also: freeze the relevant arrays.
parent
6359c75a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Library/Homebrew/diagnostic.rb
+3
-2
3 additions, 2 deletions
Library/Homebrew/diagnostic.rb
Library/Homebrew/extend/os/mac/diagnostic.rb
+9
-10
9 additions, 10 deletions
Library/Homebrew/extend/os/mac/diagnostic.rb
with
12 additions
and
12 deletions
Library/Homebrew/diagnostic.rb
+
3
−
2
View file @
b38f5b3e
...
...
@@ -86,12 +86,13 @@ module Homebrew
def
development_tools_checks
%w[
check_for_installed_developer_tools
]
]
.
freeze
end
def
fatal_development_tools_checks
%w[
]
]
.
freeze
end
end
def
check_for_installed_developer_tools
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/extend/os/mac/diagnostic.rb
+
9
−
10
View file @
b38f5b3e
...
...
@@ -10,19 +10,18 @@ module Homebrew
check_xcode_license_approved
check_for_osx_gcc_installer
check_xcode_8_without_clt_on_el_capitan
]
check_xcode_up_to_date
check_clt_up_to_date
check_for_other_package_managers
]
.
freeze
end
def
fatal_development_tools_checks
if
MacOS
.
version
>=
:sierra
&&
ENV
[
"CI"
].
nil?
%w[
check_xcode_up_to_date
check_clt_up_to_date
]
else
%w[
]
end
%w[
check_xcode_minimum_version
check_clt_minimum_version
]
.
freeze
end
end
def
check_for_unsupported_macos
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment