2020-08-19 00:07:22 +03:00
|
|
|
// swift-tools-version:5.3
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "Commons",
|
|
|
|
platforms: [.macOS(.v10_13)],
|
2020-10-03 10:29:17 +03:00
|
|
|
products: [
|
|
|
|
.library(name: "Commons", targets: ["Commons", "CommonsObjC"]),
|
|
|
|
],
|
2020-08-19 01:04:46 +03:00
|
|
|
dependencies: [
|
2021-06-18 09:06:38 +03:00
|
|
|
.package(url: "https://github.com/Quick/Nimble", .upToNextMinor(from: "9.2.0")),
|
2020-08-19 01:04:46 +03:00
|
|
|
],
|
2020-08-19 00:07:22 +03:00
|
|
|
targets: [
|
2020-08-19 08:49:24 +03:00
|
|
|
.target(name: "Commons", dependencies: []),
|
2020-10-03 10:29:17 +03:00
|
|
|
.target(name: "CommonsObjC", dependencies: []),
|
2020-08-19 00:07:22 +03:00
|
|
|
.testTarget(
|
|
|
|
name: "CommonsTests",
|
2020-08-19 01:42:34 +03:00
|
|
|
dependencies: ["Commons", "Nimble"],
|
|
|
|
resources: [
|
2020-09-18 17:01:55 +03:00
|
|
|
.copy("Resources"),
|
2020-08-19 01:42:34 +03:00
|
|
|
]
|
2020-08-19 00:07:22 +03:00
|
|
|
),
|
|
|
|
]
|
|
|
|
)
|