Add 'aka' removal notice.
'aka' is no longer used to define aliases, but we'll keep the method around with a warning so non-master brews have a chance to remove any aka's; otherwise pushing the change will break private brews and we don't want to do that.
This commit is contained in:
parent
7ff5de2ad8
commit
2ac2dbb591
@ -484,6 +484,17 @@ EOF
|
|||||||
def skip_clean_paths
|
def skip_clean_paths
|
||||||
@skip_clean_paths or []
|
@skip_clean_paths or []
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# 'aka' is no longer used to define aliases, so have it print out
|
||||||
|
# a notice about the change. This will alert people with private
|
||||||
|
# formulae that they need to update.
|
||||||
|
# This notice will be removed in version 0.9
|
||||||
|
def aka args
|
||||||
|
onoe "#{name}: 'aka' is no longer used to define aliases"
|
||||||
|
puts "To define an alias, create a relative symlink from"
|
||||||
|
puts "Aliases to Formula. The name of the symlink will be"
|
||||||
|
puts "detected as an alias for the target formula."
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user