Throw if no homepage set

That'll teach you!
This commit is contained in:
Max Howell 2009-09-25 19:09:41 +01:00
parent f49bd4a9fa
commit 4b5d39feab

View File

@ -59,6 +59,7 @@ class Formula
validate_variable :version if @version validate_variable :version if @version
set_instance_variable 'homepage' set_instance_variable 'homepage'
raise if @homepage.nil?
CHECKSUM_TYPES.each do |type| CHECKSUM_TYPES.each do |type|
set_instance_variable type set_instance_variable type