mirror of
https://github.com/zhigang1992/Boutique.git
synced 2026-04-30 04:54:51 +08:00
40 lines
1.1 KiB
Swift
40 lines
1.1 KiB
Swift
// swift-tools-version: 5.6
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Boutique",
|
|
platforms: [
|
|
.iOS(.v13),
|
|
.macOS(.v11),
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "Boutique",
|
|
targets: ["Boutique"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/mergesort/Bodega.git", exact: Version(2, 0, 2)),
|
|
.package(url: "https://github.com/apple/swift-collections", from: Version(1, 0, 3)),
|
|
.package(url: "https://github.com/apple/swift-docc-plugin", from: Version(1, 0, 0)),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "Boutique",
|
|
dependencies: [
|
|
.byName(name: "Bodega"),
|
|
.product(name: "OrderedCollections", package: "swift-collections")
|
|
],
|
|
exclude: [
|
|
"../../Images",
|
|
"../../Performance Profiler",
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "BoutiqueTests",
|
|
dependencies: ["Boutique"]
|
|
),
|
|
]
|
|
)
|