This commit is contained in:
cdricms
2023-12-30 16:03:28 +01:00
commit 8ddede11ff
4 changed files with 49 additions and 0 deletions

8
.gitignore vendored Normal file
View File

@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc

23
Package.swift Normal file
View File

@@ -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"]),
]
)

6
Sources/USDA/USDA.swift Normal file
View File

@@ -0,0 +1,6 @@
// The Swift Programming Language
// https://docs.swift.org/swift-book
final class USDAClient {
}

View File

@@ -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
}
}