Initial Commit
This commit is contained in:
commit
b20f15366c
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
.DS_Store
|
||||
/.build
|
||||
/Packages
|
||||
xcuserdata/
|
||||
DerivedData/
|
||||
.swiftpm/configuration/registries.json
|
||||
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
|
||||
.netrc
|
24
Package.swift
Normal file
24
Package.swift
Normal file
@ -0,0 +1,24 @@
|
||||
// swift-tools-version: 6.0
|
||||
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "amiibo-api",
|
||||
products: [
|
||||
// Products define the executables and libraries a package produces, making them visible to other packages.
|
||||
.library(
|
||||
name: "amiibo-api",
|
||||
targets: ["amiibo-api"]),
|
||||
],
|
||||
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: "amiibo-api"),
|
||||
.testTarget(
|
||||
name: "amiibo-apiTests",
|
||||
dependencies: ["amiibo-api"]
|
||||
),
|
||||
]
|
||||
)
|
2
Sources/amiibo-api/amiibo_api.swift
Normal file
2
Sources/amiibo-api/amiibo_api.swift
Normal file
@ -0,0 +1,2 @@
|
||||
// The Swift Programming Language
|
||||
// https://docs.swift.org/swift-book
|
6
Tests/amiibo-apiTests/amiibo_apiTests.swift
Normal file
6
Tests/amiibo-apiTests/amiibo_apiTests.swift
Normal file
@ -0,0 +1,6 @@
|
||||
import Testing
|
||||
@testable import amiibo_api
|
||||
|
||||
@Test func example() async throws {
|
||||
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user