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
2c94fca1
Commit
2c94fca1
authored
5 years ago
by
Jonathan Chang
Browse files
Options
Downloads
Patches
Plain Diff
formula: don't emit standard args for cmake and go
parent
d0f40eda
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Library/Homebrew/formula.rb
+9
-3
9 additions, 3 deletions
Library/Homebrew/formula.rb
with
9 additions
and
3 deletions
Library/Homebrew/formula.rb
+
9
−
3
View file @
2c94fca1
...
...
@@ -1861,9 +1861,15 @@ class Formula
# remove "boring" arguments so that the important ones are more likely to
# be shown considering that we trim long ohai lines to the terminal width
pretty_args
=
args
.
dup
if
cmd
==
"./configure"
&&
!
verbose
pretty_args
.
delete
"--disable-dependency-tracking"
pretty_args
.
delete
"--disable-debug"
unless
verbose
case
cmd
when
"./configure"
pretty_args
-=
%w[--disable-dependency-tracking --disable-debug --disable-silent-rules]
when
"cmake"
pretty_args
-=
std_cmake_args
when
"go"
pretty_args
-=
std_go_args
end
end
pretty_args
.
each_index
do
|
i
|
pretty_args
[
i
]
=
"import setuptools..."
if
pretty_args
[
i
].
to_s
.
start_with?
"import setuptools"
...
...
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