forked from radianttap/JSONWebToken.swift
-
Notifications
You must be signed in to change notification settings - Fork 1
/
JSONWebToken.podspec
29 lines (27 loc) · 1020 Bytes
/
JSONWebToken.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Pod::Spec.new do |spec|
spec.name = 'JSONWebToken'
spec.version = '2.2.0'
spec.summary = 'Swift library for JSON Web Tokens (JWT).'
spec.homepage = 'https://github.com/kylef/JSONWebToken.swift'
spec.license = { :type => 'BSD', :file => 'LICENSE' }
spec.author = { 'Kyle Fuller' => '[email protected]' }
spec.source = { :git => 'https://github.com/kylef/JSONWebToken.swift.git', :tag => "#{spec.version}" }
spec.source_files = 'Sources/JWT/*.swift'
spec.ios.deployment_target = '8.0'
spec.osx.deployment_target = '10.9'
spec.tvos.deployment_target = '9.0'
spec.watchos.deployment_target = '2.0'
spec.requires_arc = true
spec.module_name = 'JWT'
spec.exclude_files = ['Sources/JWT/HMACCryptoSwift.swift']
if ARGV.include?('lint')
spec.pod_target_xcconfig = {
'SWIFT_INCLUDE_PATHS' => Dir.pwd,
}
else
spec.pod_target_xcconfig = {
'SWIFT_INCLUDE_PATHS' => '$(PODS_ROOT)/JSONWebToken/',
}
end
spec.preserve_paths = 'CommonCrypto/{shim.h,module.modulemap}'
end