update docs to use https urls
Closes Homebrew/homebrew#40446. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
67089f3aa2
commit
e5186c1541
@ -87,7 +87,7 @@ A more complete example-formula [cheat-sheet](https://github.com/Homebrew/homebr
|
|||||||
|
|
||||||
All you need to make a formula is a URL to the tarball.
|
All you need to make a formula is a URL to the tarball.
|
||||||
|
|
||||||
brew create http://example.com/foo-0.1.tar.gz
|
brew create https://example.com/foo-0.1.tar.gz
|
||||||
|
|
||||||
This creates:
|
This creates:
|
||||||
|
|
||||||
@ -97,7 +97,7 @@ And opens it in your `$EDITOR`. It'll look like:
|
|||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
class Foo < Formula
|
class Foo < Formula
|
||||||
url "http://example.com/foo-0.1.tar.gz"
|
url "https://example.com/foo-0.1.tar.gz"
|
||||||
homepage ""
|
homepage ""
|
||||||
sha256 "85cc828a96735bdafcf29eb6291ca91bac846579bcef7308536e0c875d6c81d7"
|
sha256 "85cc828a96735bdafcf29eb6291ca91bac846579bcef7308536e0c875d6c81d7"
|
||||||
|
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
- [CouchDB: The Definitive Guide (Installing on OS X, Appendix
|
- [CouchDB: The Definitive Guide (Installing on OS X, Appendix
|
||||||
B)](http://oreilly.com/catalog/9780596155902)
|
B)](http://oreilly.com/catalog/9780596155902)
|
||||||
- [Installing ActiveMQ on OS
|
- [Installing ActiveMQ on OS
|
||||||
X](http://activemq.apache.org/getting-started.html#GettingStarted-UsingHomebrewinstalleronOSX)
|
X](https://activemq.apache.org/getting-started.html#GettingStarted-UsingHomebrewinstalleronOSX)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Querying Brew
|
# Querying Brew
|
||||||
_In this document we will be using [jq](http://stedolan.github.io/jq/) to parse JSON, available from Homebrew using `brew install jq`._
|
_In this document we will be using [jq](https://stedolan.github.io/jq/) to parse JSON, available from Homebrew using `brew install jq`._
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ However! Fixing build issues is easier than you think: try
|
|||||||
In short:
|
In short:
|
||||||
|
|
||||||
1. [Fork Homebrew](https://github.com/Homebrew/homebrew/fork).
|
1. [Fork Homebrew](https://github.com/Homebrew/homebrew/fork).
|
||||||
2. `brew create http://example.com/foo-0.1.tar.gz`
|
2. `brew create https://example.com/foo-0.1.tar.gz`
|
||||||
3. `git checkout -b foo`
|
3. `git checkout -b foo`
|
||||||
4. `git commit Library/Formula/foo.rb && git push`
|
4. `git commit Library/Formula/foo.rb && git push`
|
||||||
5. [Pull Request](https://github.com/Homebrew/homebrew/pulls).
|
5. [Pull Request](https://github.com/Homebrew/homebrew/pulls).
|
||||||
|
@ -52,5 +52,5 @@ Thank you!
|
|||||||
|
|
||||||
[Gist]:https://gist.github.com
|
[Gist]:https://gist.github.com
|
||||||
[Apple Developer]:https://developer.apple.com/downloads
|
[Apple Developer]:https://developer.apple.com/downloads
|
||||||
[Java Developer Update]:http://support.apple.com/kb/DL1572
|
[Java Developer Update]:https://support.apple.com/kb/DL1572
|
||||||
[JDK 7]:https://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-install-faq.html
|
[JDK 7]:https://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-install-faq.html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user