mirror of
https://github.com/laosb/TypedAppStorage.git
synced 2025-04-30 09:11:10 +00:00
Initial Commit
This commit is contained in:
commit
68741ad06d
5 changed files with 53 additions and 0 deletions
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
|
|
@ -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>
|
23
Package.swift
Normal file
23
Package.swift
Normal 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: "TypedAppStorage",
|
||||
products: [
|
||||
// Products define the executables and libraries a package produces, making them visible to other packages.
|
||||
.library(
|
||||
name: "TypedAppStorage",
|
||||
targets: ["TypedAppStorage"]),
|
||||
],
|
||||
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: "TypedAppStorage"),
|
||||
.testTarget(
|
||||
name: "TypedAppStorageTests",
|
||||
dependencies: ["TypedAppStorage"]),
|
||||
]
|
||||
)
|
2
Sources/TypedAppStorage/TypedAppStorage.swift
Normal file
2
Sources/TypedAppStorage/TypedAppStorage.swift
Normal file
|
@ -0,0 +1,2 @@
|
|||
// The Swift Programming Language
|
||||
// https://docs.swift.org/swift-book
|
12
Tests/TypedAppStorageTests/TypedAppStorageTests.swift
Normal file
12
Tests/TypedAppStorageTests/TypedAppStorageTests.swift
Normal file
|
@ -0,0 +1,12 @@
|
|||
import XCTest
|
||||
@testable import TypedAppStorage
|
||||
|
||||
final class TypedAppStorageTests: 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
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue