Rebrand library metadata

- Podspec
- jazzy YAML
This commit is contained in:
Davide De Rosa 2018-08-23 12:06:47 +02:00
parent 4d03df7066
commit 1fbf71b4d7
3 changed files with 38 additions and 39 deletions

View File

@ -1,15 +1,15 @@
clean:
module: "PIATunnel"
author: "Davide De Rosa @ London Trust Media, Inc."
author_url: "https://www.privateinternetaccess.com"
module: "TunnelKit"
author: "Davide De Rosa"
author_url: "https://github.com/keeshux/TunnelKit"
theme: fullwidth
xcodebuild_arguments:
- "-workspace"
- "PIATunnel.xcworkspace"
- "TunnelKit.xcworkspace"
- "-scheme"
- "PIATunnel-iOS"
- "TunnelKit-iOS"
custom_categories:
- name: Core
@ -23,4 +23,4 @@ custom_categories:
- SessionError
- name: AppExtension
children:
- PIATunnelProvider
- TunnelKitProvider

View File

@ -1,33 +0,0 @@
Pod::Spec.new do |s|
s.name = "PIATunnel"
s.version = "1.1.6"
s.summary = "PIA tunnel implementation in Swift."
s.homepage = "https://www.privateinternetaccess.com/"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Davide De Rosa" => "davide@londontrustmedia.com" }
s.source = { :git => "https://github.com/pia-foss/tunnel-apple.git", :tag => "v#{s.version}" }
s.ios.deployment_target = "9.0"
s.osx.deployment_target = "10.11"
s.subspec "Core" do |p|
p.source_files = "PIATunnel/Sources/Core/**/*.{h,m,swift}"
p.private_header_files = "PIATunnel/Sources/Core/**/*.h"
p.preserve_paths = "PIATunnel/Sources/Core/*.modulemap"
p.pod_target_xcconfig = { "SWIFT_INCLUDE_PATHS" => "${PODS_TARGET_SRCROOT}/PIATunnel/Sources/Core",
"APPLICATION_EXTENSION_API_ONLY" => "YES" }
p.dependency "SwiftyBeaver"
p.dependency "OpenSSL-Apple", "~> 1.1.0h"
end
s.subspec "AppExtension" do |p|
p.source_files = "PIATunnel/Sources/AppExtension/**/*.swift"
p.resources = "PIATunnel/Resources/AppExtension/**/*"
p.frameworks = "NetworkExtension"
p.pod_target_xcconfig = { "APPLICATION_EXTENSION_API_ONLY" => "YES" }
p.dependency "PIATunnel/Core"
p.dependency "SwiftyBeaver"
end
end

32
TunnelKit.podspec Normal file
View File

@ -0,0 +1,32 @@
Pod::Spec.new do |s|
s.name = "TunnelKit"
s.version = "1.0.0"
s.summary = "VPN framework for Apple platforms."
s.homepage = "https://github.com/keeshux/TunnelKit"
s.license = { :type => "GPLv3", :file => "LICENSE" }
s.author = { "Davide De Rosa" => "keeshux@gmail.com" }
s.source = { :git => "https://github.com/keeshux/TunnelKit.git", :tag => "v#{s.version}" }
s.ios.deployment_target = "9.0"
s.osx.deployment_target = "10.11"
s.subspec "Core" do |p|
p.source_files = "TunnelKit/Sources/Core/**/*.{h,m,swift}"
p.private_header_files = "TunnelKit/Sources/Core/**/*.h"
p.preserve_paths = "TunnelKit/Sources/Core/*.modulemap"
p.pod_target_xcconfig = { "SWIFT_INCLUDE_PATHS" => "${PODS_TARGET_SRCROOT}/TunnelKit/Sources/Core",
"APPLICATION_EXTENSION_API_ONLY" => "YES" }
p.dependency "SwiftyBeaver"
p.dependency "OpenSSL-Apple", "~> 1.1.0h"
end
s.subspec "AppExtension" do |p|
p.source_files = "TunnelKit/Sources/AppExtension/**/*.swift"
p.frameworks = "NetworkExtension"
p.pod_target_xcconfig = { "APPLICATION_EXTENSION_API_ONLY" => "YES" }
p.dependency "TunnelKit/Core"
p.dependency "SwiftyBeaver"
end
end