Tokamak/Package.swift

59 lines
1.4 KiB
Swift
Raw Normal View History

// swift-tools-version:5.1
// 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",
platforms: [
.macOS(.v10_15),
],
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: "TokamakAppKit",
targets: ["TokamakAppKit"]
),
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: "TokamakDemo",
dependencies: ["Tokamak"]
),
.target(
name: "TokamakAppKit",
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
)