aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 62d1405e0..1504b4fe0 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -192,6 +192,10 @@ class FormulaAuditor
problem "Google Code homepage should end with a slash (url is #{f.homepage})."
end
+ if f.homepage =~ %r[^http://.*\.github\.com/]
+ problem "GitHub pages should use the github.io domain (url is #{f.homepage})"
+ end
+
urls = [(f.stable.url rescue nil), (f.devel.url rescue nil), (f.head.url rescue nil)].compact
# Check GNU urls; doesn't apply to mirrors