34 lines
711 B
Swift
34 lines
711 B
Swift
// swift-tools-version: 6.3
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "logic",
|
|
platforms: [
|
|
.macOS(.v14)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "Logic",
|
|
type: .dynamic,
|
|
targets: ["Logic"]
|
|
),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/migueldeicaza/SwiftGodot", branch: "main")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "Logic",
|
|
dependencies: [
|
|
.product(name: "SwiftGodot", package: "SwiftGodot")
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "Logic Tests",
|
|
dependencies: ["Logic"]
|
|
),
|
|
],
|
|
swiftLanguageModes: [.v6]
|
|
)
|