aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorXu Cheng2015-03-03 21:56:12 +0800
committerXu Cheng2015-03-04 00:34:21 +0800
commitdd68a2b730fb0ebe5e3c45655552be4f832147bd (patch)
treed3a11d8fa6d72f898a431451725a41e8817ed2e1 /Library/Homebrew/cmd
parent8c431c35738fb828ba0a20a62a91ac5ddca182c4 (diff)
downloadhomebrew-dd68a2b730fb0ebe5e3c45655552be4f832147bd.tar.bz2
audit: deprecate ScriptFileFormula
Closes #37356. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-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