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
commit4b5d39feabf0f3f2d525a253e3e616761ced7753 (patch)
tree80b115cb7233d996bf684e67af9b9e0a8b949e5c /Library
parentf49bd4a9faebb1ced63b5483d069cbabe78885d5 (diff)
downloadbrew-4b5d39feabf0f3f2d525a253e3e616761ced7753.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