commit 8ddede11ff678ae461c937a63cbbdaccea459977 Author: cdricms <36056008+cdricms@users.noreply.github.com> Date: Sat Dec 30 16:03:28 2023 +0100 Init 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..e8dcbf1 --- /dev/null +++ b/Package.swift @@ -0,0 +1,23 @@ +// swift-tools-version: 5.9 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "USDA", + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "USDA", + targets: ["USDA"]), + ], + 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: "USDA"), + .testTarget( + name: "USDATests", + dependencies: ["USDA"]), + ] +) diff --git a/Sources/USDA/USDA.swift b/Sources/USDA/USDA.swift new file mode 100644 index 0000000..ec2474c --- /dev/null +++ b/Sources/USDA/USDA.swift @@ -0,0 +1,6 @@ +// The Swift Programming Language +// https://docs.swift.org/swift-book + +final class USDAClient { + +} diff --git a/Tests/USDATests/USDATests.swift b/Tests/USDATests/USDATests.swift new file mode 100644 index 0000000..715b114 --- /dev/null +++ b/Tests/USDATests/USDATests.swift @@ -0,0 +1,12 @@ +import XCTest +@testable import USDA + +final class USDATests: XCTestCase { + func testExample() throws { + // XCTest Documentation + // https://developer.apple.com/documentation/xctest + + // Defining Test Cases and Test Methods + // https://developer.apple.com/documentation/xctest/defining_test_cases_and_test_methods + } +}