|
1 |
| -// swift-tools-version: 6.0 |
| 1 | +// swift-tools-version:6.0 |
2 | 2 | // The swift-tools-version declares the minimum version of Swift required to build this package.
|
3 | 3 |
|
4 | 4 | import PackageDescription
|
5 | 5 |
|
6 | 6 | let package = Package(
|
7 |
| - name: "GRDBQuery", |
8 |
| - platforms: [ |
9 |
| - .iOS(.v14), |
10 |
| - .macOS(.v11), |
11 |
| - .tvOS(.v14), |
12 |
| - .watchOS(.v7), |
13 |
| - ], |
14 |
| - products: [ |
15 |
| - // Products define the executables and libraries a package produces, and make them visible to other packages. |
16 |
| - .library( |
17 |
| - name: "GRDBQuery", |
18 |
| - targets: ["GRDBQuery"]), |
19 |
| - ], |
20 |
| - dependencies: [ |
21 |
| - // Dependencies declare other packages that this package depends on. |
22 |
| - .package(url: "https://github.com/inline-chat/GRDB.swift", from: "3.1.1"), |
23 |
| - ], |
24 |
| - targets: [ |
25 |
| - // Targets are the basic building blocks of a package. A target can define a module or a test suite. |
26 |
| - // Targets can depend on other targets in this package, and on products in packages this package depends on. |
27 |
| - .target( |
28 |
| - name: "GRDBQuery", |
29 |
| - dependencies: [ |
30 |
| - .product(name: "GRDB", package: "GRDB.swift"), |
31 |
| - ]), |
32 |
| - .testTarget( |
33 |
| - name: "GRDBQueryTests", |
34 |
| - dependencies: [ |
35 |
| - "GRDBQuery", |
36 |
| - .product(name: "GRDB", package: "GRDB.swift"), |
37 |
| - ]), |
38 |
| - ] |
| 7 | + name: "GRDBQuery", |
| 8 | + platforms: [ |
| 9 | + .iOS(.v14), |
| 10 | + .macOS(.v11), |
| 11 | + .tvOS(.v14), |
| 12 | + .watchOS(.v7), |
| 13 | + ], |
| 14 | + products: [ |
| 15 | + // Products define the executables and libraries a package produces, and make them visible to other packages. |
| 16 | + .library( |
| 17 | + name: "GRDBQuery", |
| 18 | + targets: ["GRDBQuery"]) |
| 19 | + ], |
| 20 | + dependencies: [ |
| 21 | + // Dependencies declare other packages that this package depends on. |
| 22 | + //.package(url: "https://github.com/inline-chat/GRDB.swift", from: "3.1.1"), |
| 23 | + .package(url: "https://github.com/duckduckgo/GRDB.swift", from: "3.0.0") |
| 24 | + ], |
| 25 | + targets: [ |
| 26 | + // Targets are the basic building blocks of a package. A target can define a module or a test suite. |
| 27 | + // Targets can depend on other targets in this package, and on products in packages this package depends on. |
| 28 | + .target( |
| 29 | + name: "GRDBQuery", |
| 30 | + dependencies: [ |
| 31 | + .product(name: "GRDB", package: "GRDB.swift") |
| 32 | + ]), |
| 33 | + .testTarget( |
| 34 | + name: "GRDBQueryTests", |
| 35 | + dependencies: [ |
| 36 | + "GRDBQuery", |
| 37 | + .product(name: "GRDB", package: "GRDB.swift"), |
| 38 | + ]), |
| 39 | + ] |
39 | 40 | )
|
0 commit comments