31 lines
653 B
Ruby
31 lines
653 B
Ruby
platform :ios, 8.3
|
|
|
|
use_frameworks!
|
|
|
|
# ignore all warnings from all pods
|
|
inhibit_all_warnings!
|
|
|
|
target 'ReCaptcha_Example' do
|
|
pod 'ReCaptcha/RxSwift', :path => '../'
|
|
pod 'RxCocoa', '~> 4.0'
|
|
pod 'SwiftLint', '~> 0.23'
|
|
|
|
target 'ReCaptcha_Tests' do
|
|
inherit! :search_paths
|
|
|
|
pod 'AppSwizzle', :git => 'https://github.com/fjcaetano/AppSwizzle.git', :branch => 'swift4'
|
|
end
|
|
end
|
|
|
|
post_install do |i|
|
|
target = File.join(Dir.pwd, "../.git/hooks/pre-push")
|
|
unless File.symlink?(target)
|
|
puts "Installing git hook for pre-push"
|
|
|
|
begin
|
|
File.symlink(File.join(Dir.pwd, "../pre-push.sh"), target)
|
|
rescue => exc
|
|
end
|
|
end
|
|
end
|