2018-10-11 07:13:19 +00:00
|
|
|
source 'https://github.com/cocoapods/specs.git'
|
|
|
|
use_frameworks!
|
|
|
|
|
2019-05-23 21:03:59 +00:00
|
|
|
load 'Podfile.include'
|
|
|
|
|
|
|
|
$tunnelkit_name = 'TunnelKit'
|
2020-11-13 09:17:56 +00:00
|
|
|
$tunnelkit_specs = ['Protocols/OpenVPN', 'Extra/LZO']
|
2019-05-23 21:03:59 +00:00
|
|
|
|
2018-10-11 07:13:19 +00:00
|
|
|
def shared_pods
|
2021-01-03 11:37:21 +00:00
|
|
|
#pod_version $tunnelkit_name, $tunnelkit_specs, '~> 3.1.0'
|
2021-01-27 00:30:35 +00:00
|
|
|
pod_git $tunnelkit_name, $tunnelkit_specs, '1343fa5'
|
2019-05-23 21:13:45 +00:00
|
|
|
#pod_path $tunnelkit_name, $tunnelkit_specs, '..'
|
2019-04-11 16:07:59 +00:00
|
|
|
pod 'SSZipArchive'
|
2021-01-01 10:13:41 +00:00
|
|
|
pod 'Kvitto', :git => 'https://github.com/keeshux/Kvitto', :branch => 'enable-macos-spec'
|
|
|
|
end
|
|
|
|
def shared_pods_ios
|
|
|
|
shared_pods
|
2019-11-20 23:04:36 +00:00
|
|
|
for spec in ['About', 'Alerts', 'Dialogs', 'InApp', 'Misc', 'Options', 'Persistence', 'Reviewer', 'Tables', 'WebServices'] do
|
2020-12-27 16:30:25 +00:00
|
|
|
pod "Convenience/#{spec}", :git => 'https://github.com/keeshux/convenience', :commit => 'b30816a'
|
2019-10-11 08:49:26 +00:00
|
|
|
end
|
2018-10-11 07:13:19 +00:00
|
|
|
end
|
2021-01-01 10:13:41 +00:00
|
|
|
def shared_pods_macos
|
2018-10-11 07:13:19 +00:00
|
|
|
shared_pods
|
2021-01-01 10:13:41 +00:00
|
|
|
for spec in ['InApp', 'Misc', 'Persistence', 'Reviewer', 'WebServices'] do
|
|
|
|
pod "Convenience/#{spec}", :git => 'https://github.com/keeshux/convenience', :commit => 'b30816a'
|
|
|
|
end
|
2018-10-11 07:13:19 +00:00
|
|
|
end
|
2019-03-18 09:51:16 +00:00
|
|
|
|
2021-01-01 10:13:41 +00:00
|
|
|
abstract_target 'ios' do
|
|
|
|
platform :ios, '12.0'
|
|
|
|
target 'PassepartoutCore-iOS' do
|
|
|
|
shared_pods_ios
|
|
|
|
end
|
|
|
|
target 'PassepartoutCoreTests-iOS' do
|
|
|
|
end
|
|
|
|
target 'Passepartout-iOS' do
|
|
|
|
pod 'MBProgressHUD'
|
|
|
|
end
|
|
|
|
target 'PassepartoutTunnel-iOS' do
|
|
|
|
shared_pods_ios
|
|
|
|
end
|
2018-10-11 07:13:19 +00:00
|
|
|
end
|
2021-01-01 10:13:41 +00:00
|
|
|
|
|
|
|
abstract_target 'macos' do
|
|
|
|
platform :osx, '10.15'
|
|
|
|
target 'PassepartoutCore-macOS' do
|
|
|
|
shared_pods_macos
|
|
|
|
end
|
|
|
|
target 'PassepartoutCoreTests-macOS' do
|
|
|
|
end
|
|
|
|
target 'Passepartout-macOS' do
|
|
|
|
#pod 'AppCenter'
|
|
|
|
end
|
|
|
|
target 'PassepartoutTunnel-macOS' do
|
|
|
|
shared_pods_macos
|
|
|
|
end
|
2018-10-11 07:13:19 +00:00
|
|
|
end
|