Initial Commit

This commit is contained in:
Javier Cicchelli 2023-04-15 00:45:32 +02:00
commit 07521d4e93
6 changed files with 66 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>

29
Package.swift Normal file
View File

@ -0,0 +1,29 @@
// swift-tools-version: 5.8
import PackageDescription
let package = Package(
name: "SwiftLibs",
products: [
.library(
name: "SwiftLibs",
targets: [
"SwiftLibs"
]
),
],
dependencies: [],
targets: [
.target(
name: "SwiftLibs",
dependencies: [
]
),
.testTarget(
name: "SwiftLibsTests",
dependencies: [
"SwiftLibs"
]
),
]
)

3
README.md Normal file
View File

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

View File

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

View File

@ -0,0 +1,11 @@
import XCTest
@testable import SwiftLibs
final class SwiftLibsTests: 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(SwiftLibs().text, "Hello, World!")
}
}