Skip to content

Commit

Permalink
[Spec] Move deprecations back to Core
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Apr 10, 2014
1 parent 97b9d6a commit a6d129d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/cocoapods-core/specification/dsl/deprecations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ def clean_paths=(value)
def pre_install(&block)
CoreUI.warn "[#{self}] The pre install hook of the specification " \
"DSL has been deprecated, use the `resource_bundles` or the " \
"`prepare_command` attributes."
"`prepare_command` attributes."
CoreUI.warn "[#{self}] The pre_install hook will be removed in " \
"the next release"
@pre_install_callback = block
end

Expand Down Expand Up @@ -123,7 +125,9 @@ def pre_install(&block)
def post_install(&block)
CoreUI.warn "[#{self}] The post install hook of the specification " \
"DSL has been deprecated, use the `resource_bundles` or the " \
"`prepare_command` attributes."
"`prepare_command` attributes."
CoreUI.warn "[#{self}] The post_install hook will be removed in " \
"the next release"
@post_install_callback = block
end

Expand Down

0 comments on commit a6d129d

Please sign in to comment.