aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-10 10:26:06 -0800
committerAdam Vandenberg2012-03-10 10:26:06 -0800
commit27288547aaaaba14e2daa6de91b307b381b69742 (patch)
tree782fe97b4a443778f170112cf66b54788ef0bcb1 /Library/Homebrew
parentc947dbc58028f6c8efe40e9b3206c04e62fe73e5 (diff)
downloadbrew-27288547aaaaba14e2daa6de91b307b381b69742.tar.bz2
Add specialty formulase to inheritance check
Diffstat (limited to 'Library/Homebrew')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 5ed4228b4..b5e515929 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -9,7 +9,7 @@ end
def audit_formula_text name, text
problems = []
- if text =~ /<(Formula|AmazonWebServicesFormula)/
+ if text =~ /<(Formula|AmazonWebServicesFormula|ScriptFileFormula|GithubGistFormula)/
problems << " * Use a space in class inheritance: class Foo < #{$1}"
end