mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-04 15:02:08 +00:00
81bc2a7ebd
When present, pick cipher among available data ciphers from configuration, rather than all recognized ciphers. Reorder available ciphers by decreasing "security".
58 lines
1.6 KiB
Ruby
58 lines
1.6 KiB
Ruby
source 'https://github.com/cocoapods/specs.git'
|
|
use_frameworks!
|
|
|
|
load 'Podfile.include'
|
|
|
|
$tunnelkit_name = 'TunnelKit'
|
|
$tunnelkit_specs = ['Protocols/OpenVPN', 'Extra/LZO']
|
|
|
|
def shared_pods
|
|
#pod_version $tunnelkit_name, $tunnelkit_specs, '~> 3.1.0'
|
|
pod_git $tunnelkit_name, $tunnelkit_specs, 'c15d6f5'
|
|
#pod_path $tunnelkit_name, $tunnelkit_specs, '..'
|
|
pod 'SSZipArchive'
|
|
pod 'Kvitto', :git => 'https://github.com/keeshux/Kvitto', :branch => 'enable-macos-spec'
|
|
end
|
|
def shared_pods_ios
|
|
shared_pods
|
|
for spec in ['About', 'Alerts', 'Dialogs', 'InApp', 'Misc', 'Options', 'Persistence', 'Reviewer', 'Tables', 'WebServices'] do
|
|
pod "Convenience/#{spec}", :git => 'https://github.com/keeshux/convenience', :commit => 'b30816a'
|
|
end
|
|
end
|
|
def shared_pods_macos
|
|
shared_pods
|
|
for spec in ['InApp', 'Misc', 'Persistence', 'Reviewer', 'WebServices'] do
|
|
pod "Convenience/#{spec}", :git => 'https://github.com/keeshux/convenience', :commit => 'b30816a'
|
|
end
|
|
end
|
|
|
|
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
|
|
end
|
|
|
|
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
|
|
end
|