|
1 |
| -// swift-tools-version:5.4 |
| 1 | +// swift-tools-version:5.5 |
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 | +let dep = Target.Dependency.product(name: "SimpleEncryptor", package: "CryptoExtensions") |
| 7 | + |
6 | 8 | let package = Package(
|
7 | 9 | name: "SwiftExtensions",
|
8 | 10 | platforms: [.iOS(.v14), .macOS(.v11)],
|
9 | 11 | products: [
|
10 | 12 | // Products define the executables and libraries produced by a package, and make them visible to other packages.
|
11 | 13 | .library(name: "BasicExtensions", targets: ["BasicExtensions"]),
|
12 | 14 | .library(name: "StorageExtensions", targets: ["StorageExtensions"]),
|
13 |
| - .library(name: "CryptoExtensions", targets: ["CryptoExtensions"]), |
| 15 | +// .library(name: "CryptoExtensions", targets: ["CryptoExtensions"]), |
14 | 16 | ],
|
15 | 17 | dependencies: [
|
16 | 18 | // Dependencies declare other packages that this package depends on.
|
17 | 19 | // .package(url: /* package url */, from: "1.0.0"),
|
| 20 | + .package(name: "CryptoExtensions", url: "https://github.com/gal-yedidovich/CryptoExtensions", from: "1.0.0") |
18 | 21 | ],
|
19 | 22 | targets: [
|
20 | 23 | // Targets are the basic building blocks of a package. A target can define a module or a test suite.
|
21 | 24 | // Targets can depend on other targets in this package, and on products in packages which this package depends on.
|
22 | 25 | .target(name: "BasicExtensions"),
|
23 |
| - .target(name: "CryptoExtensions", dependencies: ["BasicExtensions"]), |
24 |
| - .target(name: "StorageExtensions", dependencies: ["BasicExtensions", "CryptoExtensions"]), |
| 26 | +// .target(name: "CryptoExtensions", dependencies: ["BasicExtensions"]), |
| 27 | + .target(name: "StorageExtensions", dependencies: ["BasicExtensions", dep]), |
25 | 28 | .testTarget(name: "BasicExtensionsTests", dependencies: ["BasicExtensions"]),
|
26 |
| - .testTarget(name: "CryptoTests", dependencies: ["CryptoExtensions"]), |
| 29 | +// .testTarget(name: "CryptoTests", dependencies: ["CryptoExtensions"]), |
27 | 30 | .testTarget(name: "StorageTests", dependencies: ["BasicExtensions", "StorageExtensions"]),
|
28 | 31 | ]
|
29 | 32 | )
|
0 commit comments