mirror of
https://github.com/phranck/TUIkit.git
synced 2026-06-20 09:54:37 +00:00
- SwiftLint runs via CLI only (swiftlint lint), same as CI - Removes SwiftLintPlugins dependency and DISABLE_SWIFTLINT env logic - Faster local builds, no discrepancy between local and CI linting
40 lines
993 B
Swift
40 lines
993 B
Swift
// swift-tools-version: 6.0
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "TUIkit",
|
|
// Minimum deployment targets for Apple platforms
|
|
// Linux is automatically supported (no platform specification needed)
|
|
platforms: [
|
|
.macOS(.v14)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "TUIkit",
|
|
targets: ["TUIkit"]
|
|
),
|
|
.executable(
|
|
name: "TUIkitExample",
|
|
targets: ["TUIkitExample"]
|
|
),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.4.3"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "TUIkit"
|
|
),
|
|
.executableTarget(
|
|
name: "TUIkitExample",
|
|
dependencies: ["TUIkit"]
|
|
),
|
|
.testTarget(
|
|
name: "TUIkitTests",
|
|
dependencies: ["TUIkit"]
|
|
),
|
|
]
|
|
)
|