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

Commit

Permalink
Merge pull request #1 from facebook/nlutsenko.cocoapods
Browse files Browse the repository at this point in the history
Update CocoaPods settings and re-enable linting on Travis-CI.
  • Loading branch information
nlutsenko committed Jul 14, 2016
2 parents 528dde6 + dcba61f commit 7029393
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
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
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
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
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

0 comments on commit 7029393

Please sign in to comment.