Skip to content

Commit

Permalink
Updating installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Campbell committed Mar 11, 2016
1 parent 4ddee31 commit 60ece71
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions lib/cocoapods-deploy/command/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 71,24 @@ def find_cached_set(dependency)
# Installed required sources.
def install_sources_for_lockfile

puts config.lockfile.to_hash
exit
lockfile_hash = config.lockfile.to_hash
pods_hash = internal_data['PODS']

pods.each do |pod|
pod = pod.keys.first unless pod.is_a?(String)

# TODO: Download Internal

config.lockfile.pod_names.each do |dep|
transformer = DeployTransformer.new(config.lockfile, config.sandbox)
dep = transformer.transform_dependency_name(dep)
dep = transformer.transform_dependency_name(pod)
source = ExternalSources.from_dependency(dep, config.podfile.defined_in_file)
source.fetch(config.sandbox)
end

puts pods_hash
exit

end
end

# Triggers the CocoaPods install process
Expand Down

0 comments on commit 60ece71

Please sign in to comment.