Initial Commit

This commit is contained in:
2025-10-06 17:14:31 +02:00
commit 21a8f20a62
4 changed files with 42 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
+26
View File
@@ -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: "discogs-service",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "discogs-service",
targets: ["discogs-service"]
),
],
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: "discogs-service"
),
.testTarget(
name: "discogs-serviceTests",
dependencies: ["discogs-service"]
),
]
)
@@ -0,0 +1,2 @@
// The Swift Programming Language
// https://docs.swift.org/swift-book
@@ -0,0 +1,6 @@
import Testing
@testable import discogs_service
@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
}