From ce5d4a3b039f58763c696bc135884b83b5d257af Mon Sep 17 00:00:00 2001 From: Xu Cheng <xucheng@me.com> Date: Tue, 3 Mar 2015 21:56:12 +0800 Subject: [PATCH] audit: deprecate ScriptFileFormula Closes Homebrew/homebrew#37356. Signed-off-by: Xu Cheng <xucheng@me.com> --- Library/Homebrew/cmd/audit.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index a3ccf369ea..eefbf82866 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 -- GitLab