diff options
| author | Max Howell | 2009-09-25 19:09:41 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-25 19:22:02 +0100 |
| commit | 4b5d39feabf0f3f2d525a253e3e616761ced7753 (patch) | |
| tree | 80b115cb7233d996bf684e67af9b9e0a8b949e5c /Library | |
| parent | f49bd4a9faebb1ced63b5483d069cbabe78885d5 (diff) | |
| download | brew-4b5d39feabf0f3f2d525a253e3e616761ced7753.tar.bz2 | |
Throw if no homepage set
That'll teach you!
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 1 |
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 |
