-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPromiseLite.podspec
35 lines (29 loc) · 1.35 KB
/
PromiseLite.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
30
31
32
33
34
35
Pod::Spec.new do |s|
s.name = 'PromiseLite'
s.version = '2.0.0'
s.summary = 'Lets chain asynchronous functions. Lightweight, 100% tested, pure Swift.'
s.description = <<-DESC
Lets chain sync and asynchronous functions.
This is an implementation of Javascript Promise.
It is pure Swift, 100% tested, and very lightweight, ~150 lines of code.
DESC
s.homepage = 'https://github.com/frouo/promise-lite'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'François Rouault' => 'francois.rouault@cocoricostudio.com' }
s.source = { :git => 'https://github.com/frouo/promise-lite.git', :tag => s.version.to_s }
deployment_target_ios = '9.0'
deployment_target_osx = '10.9'
deployment_target_tvos = '9.0'
s.ios.deployment_target = deployment_target_ios
s.osx.deployment_target = deployment_target_osx
s.tvos.deployment_target = deployment_target_tvos
s.watchos.deployment_target = '2.0'
s.swift_version = '5.1'
s.source_files = 'PromiseLite/Classes/**/*'
s.test_spec 'Tests' do |test_spec|
test_spec.ios.deployment_target = deployment_target_ios
test_spec.osx.deployment_target = deployment_target_osx
test_spec.tvos.deployment_target = deployment_target_tvos
test_spec.source_files = 'PromiseLite/Tests/**/*.{swift}'
end
end