aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/formula.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-05-13 08:45:37 +0100
committerMike McQuaid2016-05-13 08:45:37 +0100
commitaae447996cb4cf88fed0d9b60e9bdb7a4429de36 (patch)
tree7d24fe0cd26c25afb387850294aa50fd2a08aad7 /Library/Homebrew/compat/formula.rb
parent77836cfb3fb1e24668e79f096431f671b56ec6da (diff)
downloadbrew-aae447996cb4cf88fed0d9b60e9bdb7a4429de36.tar.bz2
formula: deprecate startup_plist.
Closes #228.
Diffstat (limited to 'Library/Homebrew/compat/formula.rb')
-rw-r--r--Library/Homebrew/compat/formula.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/compat/formula.rb b/Library/Homebrew/compat/formula.rb
index ee948572e..d75ff4ae5 100644
--- a/Library/Homebrew/compat/formula.rb
+++ b/Library/Homebrew/compat/formula.rb
@@ -55,10 +55,14 @@ class Formula
end
def python(_options = {}, &block)
- opoo "Formula#python is deprecated and will go away shortly."
+ opoo "Formula#python is deprecated."
block.call if block_given?
PythonRequirement.new
end
alias_method :python2, :python
alias_method :python3, :python
+
+ def startup_plist
+ opoo "startup_plist is deprecated: use plist instead."
+ end
end