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
5410701e
Commit
5410701e
authored
4 years ago
by
Markus Reiter
Browse files
Options
Downloads
Patches
Plain Diff
Document `OS::Mac` and `OS::Linux`.
parent
c43407f4
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/os/linux.rb
+3
-1
3 additions, 1 deletion
Library/Homebrew/os/linux.rb
Library/Homebrew/os/mac.rb
+1
-0
1 addition, 0 deletions
Library/Homebrew/os/mac.rb
with
4 additions
and
1 deletion
Library/Homebrew/os/linux.rb
+
3
−
1
View file @
5410701e
# frozen_string_literal: true
module
OS
# Helper module for querying system information on Linux.
module
Linux
module_function
...
...
@@ -21,7 +22,7 @@ module OS
end
end
#
Define OS::Mac on Linux for formula API compatibility.
#
rubocop:disable Style/Documentation
module
Mac
module_function
...
...
@@ -77,4 +78,5 @@ module OS
end
end
end
# rubocop:enable Style/Documentation
end
This diff is collapsed.
Click to expand it.
Library/Homebrew/os/mac.rb
+
1
−
0
View file @
5410701e
...
...
@@ -7,6 +7,7 @@ require "os/mac/sdk"
require
"os/mac/keg"
module
OS
# Helper module for querying system information on macOS.
module
Mac
module_function
...
...
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