Initial Commit

This commit is contained in:
Javier Cicchelli 2023-04-18 19:41:50 +02:00
commit 472ed2c068
6 changed files with 67 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/
DerivedData/
.swiftpm/config/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

30
Package.swift Normal file
View File

@ -0,0 +1,30 @@
// swift-tools-version: 5.8
import PackageDescription
let package = Package(
name: "AmiiboService",
products: [
.library(
name: "AmiiboService",
targets: [
"AmiiboService"
]
),
],
dependencies: [],
targets: [
.target(
name: "AmiiboService",
dependencies: [],
path: "Sources"
),
.testTarget(
name: "AmiiboServiceTests",
dependencies: [
"AmiiboService"
],
path: "Tests"
),
]
)

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# AmiiboService
A description of this package.

View File

@ -0,0 +1,6 @@
public struct AmiiboService {
public private(set) var text = "Hello, World!"
public init() {
}
}

View File

@ -0,0 +1,11 @@
import XCTest
@testable import AmiiboService
final class AmiiboServiceTests: XCTestCase {
func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct
// results.
XCTAssertEqual(AmiiboService().text, "Hello, World!")
}
}