File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ Pod ::Spec . new do |spec |
2+ spec . name = "Mutex"
3+ spec . version = "0.0.6"
4+ spec . summary = "A cross platform lock backporting the Swift 6 Mutex API to Swift 5.9 and all Darwin platforms"
5+ spec . description = <<-DESC
6+ swift-mutex is a cross platform lock backporting the Swift 6 Mutex API to Swift 5.9 and all Darwin platforms.
7+ Mutex is built upon os_unfair_lock_t on Darwin platforms, pthread_mutex_t on Linux and SRWLOCK on Windows.
8+ DESC
9+
10+ spec . homepage = "https://github.com/swhitty/swift-mutex"
11+ spec . license = { :type => "MIT" , :file => "LICENSE" }
12+ spec . author = { "Simon Whitty" => "[email protected] " } 13+ spec . source = { :git => "https://github.com/swhitty/swift-mutex.git" , :tag => "#{ spec . version } " }
14+
15+ # Supported platforms
16+ spec . ios . deployment_target = "13.0"
17+ spec . osx . deployment_target = "10.15"
18+ spec . tvos . deployment_target = "13.0"
19+ spec . watchos . deployment_target = "6.0"
20+ spec . visionos . deployment_target = "1.0"
21+
22+ # Swift version
23+ spec . swift_version = "5.9"
24+
25+ # Source files
26+ spec . source_files = "Sources/**/*.swift"
27+
28+ # Test files (optional, for pod try)
29+ spec . test_spec 'Tests' do |test_spec |
30+ test_spec . source_files = 'Tests/**/*.swift'
31+ end
32+ end
You can’t perform that action at this time.
0 commit comments