Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions SwiftLeeds.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
74F5EF842A49CE6A008D9413 /* TabsMainView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabsMainView.swift; sourceTree = "<group>"; };
74F5EF862A49CE9D008D9413 /* SidebarMainView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SidebarMainView.swift; sourceTree = "<group>"; };
74F5EF882A49CECB008D9413 /* SidebarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SidebarView.swift; sourceTree = "<group>"; };
7B8108412E5CA00E00CCB2F5 /* SwiftLeedsPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = SwiftLeedsPackage; sourceTree = "<group>"; };
AE1C800F289E9F3800996659 /* String.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = String.swift; sourceTree = "<group>"; };
AE1C801328A7BCD000996659 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = "<group>"; };
AE1CDBE02AC0586500E83420 /* HttpMethod.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HttpMethod.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -389,6 +390,7 @@
AECB294A27417F9D00CDC983 = {
isa = PBXGroup;
children = (
7B8108412E5CA00E00CCB2F5 /* SwiftLeedsPackage */,
74B14FAD28CB22B4004C0A40 /* SwiftLeedsWidgetExtension.entitlements */,
AECB295527417F9D00CDC983 /* SwiftLeeds */,
AE1C801328A7BCD000996659 /* Settings.bundle */,
Expand Down
8 changes: 8 additions & 0 deletions SwiftLeedsPackage/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
23 changes: 23 additions & 0 deletions SwiftLeedsPackage/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// swift-tools-version: 5.7

import PackageDescription

let package = Package(
name: "SwiftLeedsPackage",
platforms: [
.iOS(.v16),
],
products: [
.library(
name: "SwiftLeedsPackage",
targets: ["SwiftLeedsPackage"]),
],
targets: [
.target(
name: "SwiftLeedsPackage"),
.testTarget(
name: "SwiftLeedsPackageTests",
dependencies: ["SwiftLeedsPackage"]
),
]
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// The Swift Programming Language
// https://docs.swift.org/swift-book
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import Testing
@testable import SwiftLeedsPackage

@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd probably delete this until we actually decide to add tests here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Iirc this was just to avoid a warning from the compiler telling us that there was no file in the folder

Can remove it if needed :)

}