Tests Podfile: remove redundancy

pull/6849/head
Jorge Canizales 9 years ago
parent fb4a54541a
commit 12e03fe30a
  1. 47
      src/objective-c/tests/Podfile

@ -3,36 +3,27 @@ platform :ios, '8.0'
install! 'cocoapods', :deterministic_uuids => false install! 'cocoapods', :deterministic_uuids => false
def shared_pods # Location of gRPC's repo root relative to this file.
pod 'Protobuf', :path => "../../../third_party/protobuf" GRPC_LOCAL_SRC = '../../..'
pod 'BoringSSL', :podspec => ".."
pod 'gRPC', :path => "../../.." # Install the dependencies in the main target plus all test targets.
pod 'gRPC-Core', :path => "../../.." %w(
pod 'gRPC-RxLibrary', :path => "../../.." Tests
pod 'gRPC-ProtoRPC', :path => "../../.." AllTests
RxLibraryUnitTests
InteropTestsRemote
InteropTestsLocalSSL
InteropTestsLocalCleartext
).each do |target_name|
target target_name do
pod 'Protobuf', :path => "#{GRPC_LOCAL_SRC}/third_party/protobuf"
pod 'BoringSSL', :podspec => "#{GRPC_LOCAL_SRC}/src/objective-c"
pod 'gRPC', :path => GRPC_LOCAL_SRC
pod 'gRPC-Core', :path => GRPC_LOCAL_SRC
pod 'gRPC-RxLibrary', :path => GRPC_LOCAL_SRC
pod 'gRPC-ProtoRPC', :path => GRPC_LOCAL_SRC
pod 'RemoteTest', :path => "RemoteTestClient" pod 'RemoteTest', :path => "RemoteTestClient"
end end
target 'Tests' do
shared_pods
end
target 'AllTests' do
shared_pods
end
target 'RxLibraryUnitTests' do
shared_pods
end
target 'InteropTestsRemote' do
shared_pods
end
target 'InteropTestsLocalSSL' do
shared_pods
end end
target 'InteropTestsLocalCleartext' do
shared_pods
end end

Loading…
Cancel
Save