Skip to content

Commit

Permalink
[Installer] Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Nov 14, 2015
1 parent 2e89214 commit d660432
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
12 changes: 0 additions & 12 deletions lib/cocoapods/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ def resolve_dependencies
UI.section 'Analyzing dependencies' do
analyze(analyzer)
validate_build_configurations
prepare_for_legacy_compatibility
clean_sandbox
end
end
Expand Down Expand Up @@ -243,17 +242,6 @@ def validate_build_configurations
end
end

# Prepares the Pods folder in order to be compatible with the most recent
# version of CocoaPods.
#
# @return [void]
#
def prepare_for_legacy_compatibility
# move_target_support_files_if_needed
# move_Local_Podspecs_to_Podspecs_if_needed
# move_pods_to_sources_folder_if_needed
end

# @return [void] In this step we clean all the folders that will be
# regenerated from scratch and any file which might not be
# overwritten.
Expand Down
2 changes: 0 additions & 2 deletions spec/unit/installer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def @installer.write_pod_project
config.skip_repo_update = true
@installer.unstub(:resolve_dependencies)
@installer.stubs(:validate_build_configurations)
@installer.stubs(:prepare_for_legacy_compatibility)
@installer.stubs(:clean_sandbox)
def @installer.run_source_provider_hooks
@hook_called = true
Expand All @@ -125,7 +124,6 @@ def @installer.analyze(*)
@installer.podfile.stubs(:plugins).returns(plugins_hash)
@installer.unstub(:resolve_dependencies)
@installer.stubs(:validate_build_configurations)
@installer.stubs(:prepare_for_legacy_compatibility)
@installer.stubs(:clean_sandbox)
@installer.stubs(:ensure_plugins_are_installed!)
@installer.stubs(:analyze)
Expand Down

0 comments on commit d660432

Please sign in to comment.