Merge pull request #5678 from waldyrious/patch-1

missing_formula.rb: add help message for cargo
This commit is contained in:
Mike McQuaid 2019-02-05 17:10:57 +01:00 committed by GitHub
commit 3349da1c1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,9 +23,10 @@ module Homebrew
brew cask install mactex brew cask install mactex
EOS EOS
when "pip" then <<~EOS when "pip" then <<~EOS
Homebrew provides pip via: `brew install python`. However you will then pip is part of the python formula, and can be installed with:
have two Pythons installed on your Mac, so alternatively you can install brew install python
pip via the instructions at: However you will then have two Pythons installed on your Mac,
so alternatively you can install pip via the instructions at:
#{Formatter.url("https://pip.readthedocs.io/en/stable/installing/")} #{Formatter.url("https://pip.readthedocs.io/en/stable/installing/")}
EOS EOS
when "pil" then <<~EOS when "pil" then <<~EOS
@ -36,8 +37,10 @@ module Homebrew
You can read more about it at: You can read more about it at:
#{Formatter.url("https://github.com/MacRuby/MacRuby")} #{Formatter.url("https://github.com/MacRuby/MacRuby")}
EOS EOS
when /(lib)?lzma/ when /(lib)?lzma/ then <<~EOS
"lzma is now part of the xz formula." lzma is now part of the xz formula, and can be installed with:
brew install xz
EOS
when "gtest", "googletest", "google-test" then <<~EOS when "gtest", "googletest", "google-test" then <<~EOS
Installing gtest system-wide is not recommended; it should be vendored Installing gtest system-wide is not recommended; it should be vendored
in your projects that use it. in your projects that use it.
@ -54,7 +57,7 @@ module Homebrew
Install gsutil with `pip2 install gsutil` Install gsutil with `pip2 install gsutil`
EOS EOS
when "gfortran" then <<~EOS when "gfortran" then <<~EOS
GNU Fortran is now provided as part of GCC, and can be installed with: GNU Fortran is now part of the GCC formula, and can be installed with:
brew install gcc brew install gcc
EOS EOS
when "play" then <<~EOS when "play" then <<~EOS
@ -79,6 +82,10 @@ module Homebrew
If you wish to use the 2.x release you can install with Homebrew Cask: If you wish to use the 2.x release you can install with Homebrew Cask:
brew cask install ngrok brew cask install ngrok
EOS EOS
when "cargo" then <<~EOS
cargo is part of the rust formula, and can be installed with:
brew install rust
EOS
end end
end end
alias generic_blacklisted_reason blacklisted_reason alias generic_blacklisted_reason blacklisted_reason