aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorilovezfs2017-10-13 03:24:19 -0700
committerGitHub2017-10-13 03:24:19 -0700
commit64270ed85c56de6126e086aed7b4543a9cf5b2a0 (patch)
treeb75a2deb93da243e4dff9ee62a1454f2fb0d0f2a /Library/Homebrew/compat
parent30b84ac6f39d2f0cd3e3993959a11888a047afd5 (diff)
parent82afe5d7f7855993a5410beba68bedc01492c846 (diff)
downloadbrew-64270ed85c56de6126e086aed7b4543a9cf5b2a0.tar.bz2
Merge pull request #3312 from ilovezfs/remove-rake-dsl
fileutils: deprecate rake DSL
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/formula.rb5
1 files changed, 5 insertions, 0 deletions
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