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
f22aeb14
Commit
f22aeb14
authored
10 years ago
by
Mike McQuaid
Browse files
Options
Downloads
Patches
Plain Diff
tap-readme: tweak the format.
parent
a14c922b
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/cmd/tap-readme.rb
+10
-13
10 additions, 13 deletions
Library/Homebrew/cmd/tap-readme.rb
with
10 additions
and
13 deletions
Library/Homebrew/cmd/tap-readme.rb
+
10
−
13
View file @
f22aeb14
module
Homebrew
def
tap_readme
name
=
ARGV
.
first
raise
"A name is required"
if
name
.
nil?
titleized_name
=
name
.
dup
titleized_name
[
0
]
=
titleized_name
[
0
].
upcase
template
=
<<-
EOS
.
undent
Homebrew-
#{
name
}
=========
#{
'='
*
name
.
size
}
# Homebrew
#{
titleized_name
}
How do I install these formulae?
--------------------------------
Just `brew tap homebrew/
#{
name
}
` and then `brew install <formula>`.
## How do I install these formulae?
`brew install homebrew/
#{
name
}
/<formula>`
If the formula conflicts with one from Homebrew/homebrew or
an
o
the
r tap, you ca
n `brew install
homebrew/
#{
name
}
/
<formula>`.
Or `brew tap homebrew/
#{
name
}
`
an
d
then `brew install <formula>`.
You can also
install via URL:
Or
install via URL
(which will not receive updates)
:
```
brew install https://raw.githubusercontent.com/Homebrew/homebrew-
#{
name
}
/master/<formula>.rb
```
Docs
----
`brew help`, `man brew`, or the Homebrew [docs][].
[docs]:https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/README.md#readme
## Documentation
`brew help`, `man brew` or check [Homebrew's documentation](https://github.com/Homebrew/homebrew/tree/master/share/doc/homebrew#readme).
EOS
puts
template
if
ARGV
.
verbose?
...
...
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