From 5d6e50a9837273e7b42984f60fb567e057ba7b32 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Thu, 18 Dec 2025 21:15:26 -0500 Subject: [PATCH] feat: Initial commit. --- .gitignore | 8 ++++++ Package.swift | 26 +++++++++++++++++++ Sources/swift-manual-d/swift_manual_d.swift | 2 ++ .../swift_manual_dTests.swift | 6 +++++ 4 files changed, 42 insertions(+) create mode 100644 .gitignore create mode 100644 Package.swift create mode 100644 Sources/swift-manual-d/swift_manual_d.swift create mode 100644 Tests/swift-manual-dTests/swift_manual_dTests.swift diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0023a53 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.DS_Store +/.build +/Packages +xcuserdata/ +DerivedData/ +.swiftpm/configuration/registries.json +.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +.netrc diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..e7e18f9 --- /dev/null +++ b/Package.swift @@ -0,0 +1,26 @@ +// swift-tools-version: 6.2 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "swift-manual-d", + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "swift-manual-d", + targets: ["swift-manual-d"] + ), + ], + targets: [ + // Targets are the basic building blocks of a package, defining a module or a test suite. + // Targets can depend on other targets in this package and products from dependencies. + .target( + name: "swift-manual-d" + ), + .testTarget( + name: "swift-manual-dTests", + dependencies: ["swift-manual-d"] + ), + ] +) diff --git a/Sources/swift-manual-d/swift_manual_d.swift b/Sources/swift-manual-d/swift_manual_d.swift new file mode 100644 index 0000000..08b22b8 --- /dev/null +++ b/Sources/swift-manual-d/swift_manual_d.swift @@ -0,0 +1,2 @@ +// The Swift Programming Language +// https://docs.swift.org/swift-book diff --git a/Tests/swift-manual-dTests/swift_manual_dTests.swift b/Tests/swift-manual-dTests/swift_manual_dTests.swift new file mode 100644 index 0000000..90d617f --- /dev/null +++ b/Tests/swift-manual-dTests/swift_manual_dTests.swift @@ -0,0 +1,6 @@ +import Testing +@testable import swift_manual_d + +@Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. +}