File tree Expand file tree Collapse file tree 2 files changed +71
-0
lines changed Expand file tree Collapse file tree 2 files changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ // swift-tools-version: 5.10
2
+
3
+ import PackageDescription
4
+
5
+ let package = Package (
6
+ name: " swift-gzip " ,
7
+ platforms: [
8
+ . iOS( . v15) ,
9
+ . tvOS( . v15) ,
10
+ . visionOS( . v1) ,
11
+ . macOS( . v12) ,
12
+ . macCatalyst( . v15) ,
13
+ . watchOS( . v8)
14
+ ] ,
15
+ products: [
16
+ . library( name: " SwiftGzip " , targets: [ " SwiftGzip " ] )
17
+ ] ,
18
+ targets: [
19
+ . target(
20
+ name: " SwiftGzip " ,
21
+ resources: [ . copy( " Resources/PrivacyInfo.xcprivacy " ) ] ,
22
+ swiftSettings: [ . enableExperimentalFeature( " StrictConcurrency " ) ] ,
23
+ linkerSettings: [ . linkedLibrary( " z " ) ]
24
+ ) ,
25
+ . testTarget(
26
+ name: " SwiftGzipTests " ,
27
+ dependencies: [ . target( name: " SwiftGzip " ) ] ,
28
+ resources: [
29
+ . copy( " Resources/test.png " ) ,
30
+ . copy( " Resources/test.png.gz " )
31
+ ]
32
+ )
33
+ ] ,
34
+ swiftLanguageVersions: [ . v5]
35
+ )
Original file line number Diff line number Diff line change
1
+ // swift-tools-version: 5.8
2
+
3
+ import PackageDescription
4
+
5
+ let package = Package (
6
+ name: " swift-gzip " ,
7
+ platforms: [
8
+ . iOS( . v15) ,
9
+ . tvOS( . v15) ,
10
+ . macOS( . v12) ,
11
+ . macCatalyst( . v15) ,
12
+ . watchOS( . v8)
13
+ ] ,
14
+ products: [
15
+ . library( name: " SwiftGzip " , targets: [ " SwiftGzip " ] )
16
+ ] ,
17
+ targets: [
18
+ . target(
19
+ name: " SwiftGzip " ,
20
+ path: " Sources " ,
21
+ resources: [ . copy( " Resources/PrivacyInfo.xcprivacy " ) ] ,
22
+ swiftSettings: [ . enableExperimentalFeature( " StrictConcurrency " ) ] ,
23
+ linkerSettings: [ . linkedLibrary( " z " ) ]
24
+ ) ,
25
+ . testTarget(
26
+ name: " SwiftGzipTests " ,
27
+ dependencies: [ . target( name: " SwiftGzip " ) ] ,
28
+ path: " Tests " ,
29
+ resources: [
30
+ . copy( " Resources/test.png " ) ,
31
+ . copy( " Resources/test.png.gz " )
32
+ ]
33
+ )
34
+ ] ,
35
+ swiftLanguageVersions: [ . v5]
36
+ )
You can’t perform that action at this time.
0 commit comments