-
Notifications
You must be signed in to change notification settings - Fork 8
/
Subprocess.podspec
38 lines (33 loc) · 1.32 KB
/
Subprocess.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
36
37
38
Pod::Spec.new do |s|
s.name = 'Subprocess'
s.version = '3.0.1'
s.summary = 'Wrapper for NSTask used for running processes and shell commands on macOS.'
s.license = { :type => 'MIT', :text => "" }
s.description = <<-DESC
Everything related to creating processes and running shell commands on macOS.
DESC
s.homepage = 'https://github.com/jamf/Subprocess'
s.authors = { 'Michael Link' => '[email protected]' }
s.source = { :git => "https://github.com/jamf/Subprocess.git", :tag => s.version.to_s }
s.platform = :osx, '10.15.4'
s.osx.deployment_target = '10.15.4'
s.swift_version = '5.9'
s.default_subspec = 'Core'
s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DCOCOA_PODS' }
s.subspec 'Core' do |ss|
ss.source_files = 'Sources/Subprocess/*.swift'
end
s.subspec 'Mocks' do |ss|
ss.source_files = 'Sources/SubprocessMocks/*.swift'
ss.dependency 'Subprocess/Core'
end
s.test_spec 'UnitTests' do |test_spec|
test_spec.source_files = [ 'Tests/UnitTests/*.swift' ]
test_spec.dependency 'Subprocess/Core'
test_spec.dependency 'Subprocess/Mocks'
end
s.test_spec 'SystemTests' do |test_spec|
test_spec.source_files = [ 'Tests/SystemTests/*.swift' ]
test_spec.dependency 'Subprocess/Core'
end
end