Defined the Locations library in the Libraries package for the Locations target.
This commit is contained in:
parent
14e39a40ae
commit
74b30733df
@ -1,28 +1,28 @@
|
||||
// swift-tools-version: 5.8
|
||||
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "Libraries",
|
||||
products: [
|
||||
// Products define the executables and libraries a package produces, and make them visible to other packages.
|
||||
.library(
|
||||
name: "Libraries",
|
||||
targets: ["Libraries"]),
|
||||
],
|
||||
dependencies: [
|
||||
// Dependencies declare other packages that this package depends on.
|
||||
// .package(url: /* package url */, from: "1.0.0"),
|
||||
targets: [
|
||||
"Locations"
|
||||
]
|
||||
),
|
||||
],
|
||||
dependencies: [],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
|
||||
// Targets can depend on other targets in this package, and on products in packages this package depends on.
|
||||
.target(
|
||||
name: "Libraries",
|
||||
dependencies: []),
|
||||
name: "Locations",
|
||||
dependencies: []
|
||||
),
|
||||
.testTarget(
|
||||
name: "LibrariesTests",
|
||||
dependencies: ["Libraries"]),
|
||||
name: "LocationsTests",
|
||||
dependencies: [
|
||||
"Locations"
|
||||
]
|
||||
),
|
||||
]
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user