aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-09-25 19:09:41 +0100
committerMax Howell2009-09-25 19:22:02 +0100
commit07f331bffa9124400fa3b943651fa618e365478a (patch)
tree8c3f73e203c848f26aa66042e496131b8f950df9 /Library
parent84abdce9a8fef51c689393db033785320b9c5b90 (diff)
downloadhomebrew-07f331bffa9124400fa3b943651fa618e365478a.tar.bz2
Throw if no homepage set
That'll teach you!
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 2c7f10b5a..1a8452c91 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -59,6 +59,7 @@ class Formula
validate_variable :version if @version
set_instance_variable 'homepage'
+ raise if @homepage.nil?
CHECKSUM_TYPES.each do |type|
set_instance_variable type