You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
936 B
28 lines
936 B
// swift-tools-version: 5.10
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "CustomTypes",
|
|
products: [
|
|
// Products define the executables and libraries a package produces, making them visible to other packages.
|
|
.library(
|
|
name: "CustomTypes",
|
|
targets: ["CustomTypes"]),
|
|
],
|
|
dependencies: [
|
|
.package(path: "../Model")
|
|
],
|
|
targets: [
|
|
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
|
// Targets can depend on other targets in this package and products from dependencies.
|
|
.target(
|
|
name: "CustomTypes",
|
|
dependencies: [ .product(name: "Model", package: "Model") ]),
|
|
.testTarget(
|
|
name: "CustomTypesTests",
|
|
dependencies: ["CustomTypes"]),
|
|
]
|
|
)
|