Update Sample apps to refer local podspecs (#244)

Summary:
Before this PR, travis used to build sample app which used a tagged release of SonarKit and Sonar. So travis used to never check the source code in master branch. This PR, instead uses local podspecs, which refers to the local source code, and thus travis would be testing the local source code.
Solves #237
Pull Request resolved: https://github.com/facebook/flipper/pull/244

Reviewed By: passy

Differential Revision: D9394955

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 7109a8baaeb8ff7e14d19ebe1d7c3bcb7e4bebd2
This commit is contained in:
Pritesh Nandgaonkar
2018-08-20 04:05:02 -07:00
committed by Facebook Github Bot
parent 82c2f0c68c
commit be4b45c703
5 changed files with 188 additions and 8 deletions

View File

@@ -2,13 +2,12 @@ project 'Sample.xcodeproj'
source 'https://github.com/facebook/Sonar.git'
source 'https://github.com/CocoaPods/Specs'
swift_version = "4.1"
sonarkit_version = '0.6.16'
target 'Sample' do
pod 'SonarKit', '~>'+sonarkit_version
pod 'SonarKit/SonarKitLayoutComponentKitSupport', '~>'+sonarkit_version
pod 'SonarKit/SKIOSNetworkPlugin', '~>'+sonarkit_version
pod 'SonarKit', :path => '../../SonarKit.podspec'
pod 'SonarKit/SonarKitLayoutComponentKitSupport', :path => '../../SonarKit.podspec'
pod 'SonarKit/SKIOSNetworkPlugin', :path => '../../SonarKit.podspec'
pod 'Sonar', :path => '../../Sonar.podspec'
post_install do |installer|
installer.pods_project.targets.each do |target|