File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ // swift-tools-version: 6.1
2
+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3
+
4
+ import PackageDescription
5
+
6
+ let package = Package (
7
+ name: " CountriesSwiftUI " ,
8
+ platforms: [
9
+ . iOS( . v18) ,
10
+ . macOS( . v12)
11
+ ] ,
12
+ products: [
13
+ . library( name: " CountriesSwiftUI " , targets: [ " CountriesSwiftUI " ] )
14
+ ] ,
15
+ dependencies: [
16
+ . package ( url: " https://github.com/nalexn/EnvironmentOverrides " , from: " 0.0.4 " ) ,
17
+ . package ( url: " https://github.com/nalexn/ViewInspector " , from: " 0.10.0 " )
18
+ ] ,
19
+ targets: [
20
+ . target(
21
+ name: " CountriesSwiftUI " ,
22
+ dependencies: [
23
+ . product( name: " EnvironmentOverrides " , package : " EnvironmentOverrides " )
24
+ ] ,
25
+ path: " CountriesSwiftUI " ,
26
+ exclude: [
27
+ " Resources/Preview Assets.xcassets " ,
28
+ ] ,
29
+ resources: [
30
+ . process( " Resources/Assets.xcassets " ) ,
31
+ . process( " Resources/Localizable.xcstrings " ) ,
32
+ ] ,
33
+ swiftSettings: [
34
+ . swiftLanguageMode( . v5)
35
+ ] ,
36
+ linkerSettings: [
37
+ . linkedFramework( " UIKit " )
38
+ ]
39
+ ) ,
40
+ . testTarget(
41
+ name: " UnitTests " ,
42
+ dependencies: [
43
+ " CountriesSwiftUI " ,
44
+ . product( name: " ViewInspector " , package : " ViewInspector " )
45
+ ] ,
46
+ path: " UnitTests " ,
47
+ swiftSettings: [
48
+ . swiftLanguageMode( . v5)
49
+ ] ,
50
+ )
51
+ ]
52
+ )
You can’t perform that action at this time.
0 commit comments