mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-01-12 22:47:34 +08:00
77 lines
2.0 KiB
Ruby
77 lines
2.0 KiB
Ruby
# Uncomment the next line to define a global platform for your project
|
|
|
|
use_frameworks!
|
|
inhibit_all_warnings!
|
|
|
|
def session_pods
|
|
pod 'GitHubAPI', :path => 'Local Pods/GitHubAPI'
|
|
pod 'GitHubSession', :path => 'Local Pods/GitHubSession'
|
|
pod 'DateAgo', :path => 'Local Pods/DateAgo'
|
|
pod 'StringHelpers', :path => 'Local Pods/StringHelpers'
|
|
end
|
|
|
|
def testing_pods
|
|
# normal pods
|
|
pod 'AlamofireNetworkActivityIndicator', '~> 2.1'
|
|
pod 'HTMLString', '~> 4.0.1'
|
|
pod 'NYTPhotoViewer', '~> 1.1.0'
|
|
pod 'SDWebImage/GIF', '~> 4.0.0'
|
|
pod 'SnapKit', '~> 4.0.0'
|
|
pod 'TUSafariActivity', '~> 1.0.0'
|
|
pod 'SwiftLint'
|
|
pod 'Fabric'
|
|
pod 'Crashlytics'
|
|
pod 'Tabman', '~> 1.8'
|
|
pod 'Firebase/Core'
|
|
pod 'Firebase/Database'
|
|
|
|
# prerelease pods
|
|
pod 'IGListKit/Swift', :git => 'https://github.com/Instagram/IGListKit.git', :branch => 'swift'
|
|
pod 'StyledText', :git => 'https://github.com/GitHawkApp/StyledText.git', :branch => 'master'
|
|
pod 'Highlightr', :git => 'https://github.com/GitHawkApp/Highlightr.git', :branch => 'master'
|
|
pod 'FlatCache', :git => 'https://github.com/GitHawkApp/FlatCache.git', :branch => 'master'
|
|
pod 'MessageViewController', :git => 'https://github.com/GitHawkApp/MessageViewController.git', :branch => 'master'
|
|
pod 'ContextMenu', :git => 'https://github.com/GitHawkApp/ContextMenu.git', :branch => 'master'
|
|
pod 'cmark-gfm-swift', :git => 'https://github.com/GitHawkApp/cmark-gfm-swift.git', :branch => 'master'
|
|
|
|
# debugging pods
|
|
pod 'FLEX', '~> 2.0', :configurations => ['Debug', 'TestFlight']
|
|
|
|
# Local Pods w/ custom changes
|
|
pod 'SwipeCellKit', :path => 'Local Pods/SwipeCellKit'
|
|
end
|
|
|
|
target 'Freetime' do
|
|
|
|
platform :ios, '11.0'
|
|
|
|
session_pods
|
|
testing_pods
|
|
|
|
end
|
|
|
|
target 'FreetimeWatch' do
|
|
|
|
end
|
|
|
|
target 'FreetimeWatch Extension' do
|
|
|
|
platform :watchos, '3.0'
|
|
|
|
session_pods
|
|
|
|
end
|
|
|
|
target 'FreetimeTests' do
|
|
# normal pods
|
|
pod 'FBSnapshotTestCase'
|
|
|
|
session_pods
|
|
testing_pods
|
|
|
|
end
|
|
|
|
post_install do |installer|
|
|
system("sh tools/generateAcknowledgements.sh")
|
|
end
|