Initial commit

This commit is contained in:
2026-08-26 08:37:43 -07:00
commit 42c13c1769
9 changed files with 367 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
{
"originHash" : "d86eb4e9e571bf364b6c16d511f4b1cc74d842b35c3e29a542bab51c79399eac",
"pins" : [
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "6a52f3251125d74daf04fcbd5e6f08a75d074382",
"version" : "1.8.2"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-syntax",
"state" : {
"revision" : "79e4b74a295b6eb74a8b585e3a39d29e70c1dbd1",
"version" : "603.0.2"
}
},
{
"identity" : "swiftgodot",
"kind" : "remoteSourceControl",
"location" : "https://github.com/migueldeicaza/SwiftGodot",
"state" : {
"branch" : "main",
"revision" : "269d526ee440afd537cb1d2079f6ff4b3c96014c"
}
}
],
"version" : 3
}
+33
View File
@@ -0,0 +1,33 @@
// 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]
)
+2
View File
@@ -0,0 +1,2 @@
import Foundation
import SwiftGodot
@@ -0,0 +1,8 @@
import Testing
@testable import logic
@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
// Swift Testing Documentation
// https://developer.apple.com/documentation/testing
}