use_frameworks!

def shared_pods
  pod 'Polyline', '~> 3.2'
end

def shared_test_pods
  shared_pods
  pod 'OHHTTPStubs/Swift', '~> 5.0.0', :configurations => ['Debug']
end

target 'MapboxDirections' do
  platform :ios, '8.0'
  shared_pods
end

target 'MapboxDirectionsTests' do
  platform :ios, '8.0'
  shared_test_pods
end

target 'MapboxDirectionsMac' do
  platform :osx, '10.10'
  shared_pods
end

target 'MapboxDirectionsMacTests' do
  platform :osx, '10.10'
  shared_test_pods
end

target 'MapboxDirectionsTV' do
  platform :tvos, '9.0'
  shared_pods
end

target 'MapboxDirectionsTVTests' do
  platform :tvos, '9.0'
  shared_test_pods
end

target 'MapboxDirectionsWatch' do
  platform :watchos, '2.0'
  shared_pods
end

target 'Example (Swift)' do
  platform :ios, '8.0'
  shared_pods
end
