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-09-20 17:48:23 +00:00
|
|
|
#pod_version $tunnelkit_name, $tunnelkit_specs, '~> 3.4.0'
|
|
|
|
pod_git $tunnelkit_name, $tunnelkit_specs, '48c7e06'
|
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-07-19 19:37:46 +00:00
|
|
|
pod 'Kvitto'
|
2021-01-01 10:13:41 +00:00
|
|
|
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
|
2021-07-19 22:21:14 +00:00
|
|
|
pod "Convenience/#{spec}", :git => 'https://github.com/keeshux/convenience', :commit => '5ed1fe0'
|
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
|
2021-07-19 22:21:14 +00:00
|
|
|
pod "Convenience/#{spec}", :git => 'https://github.com/keeshux/convenience', :commit => '5ed1fe0'
|
2021-01-01 10:13:41 +00:00
|
|
|
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
|