Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Update CocoaPods settings and re-enable linting on Travis-CI. #1

Merged
merged 3 commits into from
Jul 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ script:
set -o pipefail
xcodebuild build -workspace FacebookSwift.xcworkspace -sdk iphonesimulator -scheme SwiftCatalog -configuration Debug -destination "platform=iOS Simulator,name=iPhone 4s" -destination "platform=iOS Simulator,name=iPhone 6 Plus" | xcpretty -c
elif [ "$TEST_TYPE" = CocoaPods ]; then
#pod lib lint FacebookCore.podspec
#pod lib lint FacebookLogin.podspec
#pod lib lint FacebookShare.podspec
pod lib lint FacebookCore.podspec
pod lib lint FacebookLogin.podspec
pod lib lint FacebookShare.podspec
fi
1 change: 1 addition & 0 deletions FacebookCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Pod::Spec.new do |s|

s.source_files = 'Sources/Core/**/*.swift'
s.module_name = 'FacebookCore'
s.pod_target_xcconfig = { 'ENABLE_TESTABILITY' => 'YES' }

s.ios.dependency 'Bolts', '~> 1.8'
s.ios.dependency 'FBSDKCoreKit', '~> 4.14'
Expand Down
2 changes: 2 additions & 0 deletions FacebookLogin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '8.0'

s.source_files = 'Sources/Login/**/*.swift'
s.exclude_files = 'Sources/Login/LoginManager.DefaultAudience.swift'
s.module_name = 'FacebookLogin'

s.ios.dependency 'FacebookCore'
s.ios.dependency 'Bolts', '~> 1.8'
s.ios.dependency 'FBSDKCoreKit', '~> 4.14'
s.ios.dependency 'FBSDKLoginKit', '~> 4.14'
Expand Down
1 change: 1 addition & 0 deletions FacebookShare.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Pod::Spec.new do |s|
s.source_files = 'Sources/Share/**/*.swift'
s.module_name = 'FacebookShare'

s.ios.dependency 'FacebookCore'
s.ios.dependency 'Bolts', '~> 1.8'
s.ios.dependency 'FBSDKCoreKit', '~> 4.14'
s.ios.dependency 'FBSDKShareKit', '~> 4.14'
Expand Down