aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/go.rb
diff options
context:
space:
mode:
authorTianyi Cui2010-11-11 02:16:28 +0800
committerAdam Vandenberg2010-11-18 20:14:27 -0800
commit7871a99fe3439f457634e5792dd2f7b127fdd2dc (patch)
tree05f071812239c3c3eda888f1f45b880d2f79cdf3 /Library/Formula/go.rb
parentd2530e5280072e1278eb509efbad3312e863e3e7 (diff)
downloadhomebrew-7871a99fe3439f457634e5792dd2f7b127fdd2dc.tar.bz2
Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/go.rb')
-rw-r--r--Library/Formula/go.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index 69710ceca..578e08acd 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -3,7 +3,7 @@ require 'hardware'
class Go <Formula
if ARGV.include? "--use-git-head"
- head 'http://github.com/tav/go.git', :tag => 'release'
+ head 'https://github.com/tav/go.git', :tag => 'release'
else
head 'http://go.googlecode.com/hg/', :revision => 'release'
end
@@ -20,7 +20,7 @@ class Go <Formula
end
def install
- ENV.j1 # http://github.com/mxcl/homebrew/issues/#issue/237
+ ENV.j1 # https://github.com/mxcl/homebrew/issues/#issue/237
prefix.install %w[src include test doc misc lib favicon.ico]
Dir.chdir prefix
mkdir %w[pkg bin]
@@ -34,7 +34,7 @@ class Go <Formula
Dir.chdir 'src' do
system "./all.bash"
- # Keep the makefiles - http://github.com/mxcl/homebrew/issues/issue/1404
+ # Keep the makefiles - https://github.com/mxcl/homebrew/issues/issue/1404
end
Dir['src/*'].each{|f| rm_rf f unless f.match(/^src\/(pkg|Make)/) }
@@ -44,7 +44,7 @@ class Go <Formula
def caveats
<<-EOS.undent
The official Go code repository uses mercurial, but a reasonably
- up-to-date git mirror is available at http://github.com/tav/go.git.
+ up-to-date git mirror is available at https://github.com/tav/go.git.
To use the git mirror for Go builds, use the --use-git-head option.
In order to use Go, set the following in your ~/.profile: