aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-03-03 21:56:12 +0800
committerXu Cheng2015-03-04 00:34:21 +0800
commitce5d4a3b039f58763c696bc135884b83b5d257af (patch)
treec204ba716d2612cc8045705b015930fce197a570 /Library
parentb1d9169ae6229722aca2207fca4cebc0284f2e95 (diff)
downloadbrew-ce5d4a3b039f58763c696bc135884b83b5d257af.tar.bz2
audit: deprecate ScriptFileFormula
Closes Homebrew/homebrew#37356. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index a3ccf369e..eefbf8286 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -134,6 +134,10 @@ class FormulaAuditor
problem "GithubGistFormula is deprecated, use Formula instead"
end
+ if formula.class < ScriptFileFormula
+ problem "ScriptFileFormula is deprecated, use Formula instead"
+ end
+
if formula.class < AmazonWebServicesFormula
problem "AmazonWebServicesFormula is deprecated, use Formula instead"
end