From 82afe5d7f7855993a5410beba68bedc01492c846 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Fri, 13 Oct 2017 00:35:05 -0700 Subject: fileutils: deprecate rake DSL superenv and the `:ruby` requirement make a `rake` DSL unnecessary. --- Library/Homebrew/compat/formula.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Homebrew/compat') diff --git a/Library/Homebrew/compat/formula.rb b/Library/Homebrew/compat/formula.rb index 853a38706..57ab84a76 100644 --- a/Library/Homebrew/compat/formula.rb +++ b/Library/Homebrew/compat/formula.rb @@ -78,4 +78,9 @@ class Formula def startup_plist odeprecated "Formula#startup_plist", "Formula#plist" end + + def rake(*args) + # odeprecated "FileUtils#rake", "system \"rake\"" + system "rake", *args + end end -- cgit v1.2.3