Tokamak/Package.swift

52 lines
1.3 KiB
Swift
Raw Normal View History

2018-12-07 19:21:37 +08:00
// swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to
// build this package.
2018-12-07 19:21:37 +08:00
import PackageDescription
let package = Package(
name: "Tokamak",
2018-12-29 05:54:16 +08:00
products: [
// Products define the executables and libraries produced by a package,
// and make them visible to other packages.
2018-12-29 05:54:16 +08:00
.library(
name: "Tokamak",
targets: ["Tokamak"]
2018-12-29 05:54:16 +08:00
),
.library(
name: "TokamakUIKit",
targets: ["TokamakUIKit"]
2018-12-29 05:54:16 +08:00
),
.library(
name: "TokamakTestRenderer",
targets: ["TokamakTestRenderer"]
2018-12-29 05:54:16 +08:00
),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
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 which this package depends on.
2018-12-29 05:54:16 +08:00
.target(
name: "Tokamak",
2018-12-29 05:54:16 +08:00
dependencies: []
),
.target(
name: "TokamakUIKit",
dependencies: ["Tokamak"]
2018-12-29 05:54:16 +08:00
),
.target(
name: "TokamakTestRenderer",
dependencies: ["Tokamak"]
2018-12-29 05:54:16 +08:00
),
.testTarget(
name: "TokamakTests",
dependencies: ["TokamakTestRenderer"]
2018-12-29 05:54:16 +08:00
),
]
2018-12-07 19:21:37 +08:00
)