Skip to content

Commit 2505dad

Browse files
committed
task: Code cleanup
1 parent 6ccc067 commit 2505dad

56 files changed

Lines changed: 1083 additions & 2848 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.swiftpm/xcode/xcshareddata/xcschemes/GoodNetworking.xcscheme

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@
2929
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
3030
shouldUseLaunchSchemeArgsEnv = "YES"
3131
shouldAutocreateTestPlan = "YES">
32+
<Testables>
33+
<TestableReference
34+
skipped = "NO">
35+
<BuildableReference
36+
BuildableIdentifier = "primary"
37+
BlueprintIdentifier = "GoodNetworkingTests"
38+
BuildableName = "GoodNetworkingTests"
39+
BlueprintName = "GoodNetworkingTests"
40+
ReferencedContainer = "container:">
41+
</BuildableReference>
42+
</TestableReference>
43+
</Testables>
3244
</TestAction>
3345
<LaunchAction
3446
buildConfiguration = "Debug"

Package.swift

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@ import PackageDescription
66
let package = Package(
77
name: "GoodNetworking",
88
platforms: [
9-
.iOS(.v13)
9+
.iOS(.v13),
10+
.macOS(.v10_15)
1011
],
1112
products: [
1213
// Products define the executables and libraries a package produces, and make them visible to other packages.
1314
.library(
1415
name: "GoodNetworking",
1516
targets: ["GoodNetworking"]
16-
),
17-
.library(
18-
name: "Mockable",
19-
targets: ["Mockable"]
2017
)
2118
],
2219
dependencies: [
@@ -35,25 +32,13 @@ let package = Package(
3532
resources: [.copy("PrivacyInfo.xcprivacy")],
3633
swiftSettings: [
3734
.swiftLanguageMode(.v6),
35+
// .unsafeFlags(["-Onone"])
3836
]
3937
),
40-
.target(
41-
name: "Mockable",
42-
dependencies: ["GoodNetworking"],
43-
path: "./Sources/Mockable",
44-
resources: [.copy("PrivacyInfo.xcprivacy")],
45-
swiftSettings: [.swiftLanguageMode(.v6)]
46-
),
4738
.testTarget(
4839
name: "GoodNetworkingTests",
49-
dependencies: ["GoodNetworking", "Mockable"],
50-
resources:
51-
[
52-
.copy("Resources/EmptyElement.json"),
53-
.copy("Resources/ArrayNil.json"),
54-
.copy("Resources/IsoDate.json"),
55-
.copy("Resources/MilisecondsDate.json")
56-
],
40+
dependencies: ["GoodNetworking"],
41+
resources: [],
5742
swiftSettings: [.swiftLanguageMode(.v6)]
5843
),
5944
]

Sources/GoodNetworking/Extensions/ArrayEncoding.swift

Lines changed: 0 additions & 40 deletions
This file was deleted.

Sources/GoodNetworking/Extensions/Goodify.swift

Lines changed: 0 additions & 270 deletions
This file was deleted.

Sources/GoodNetworking/Extensions/CodableExtensions.swift renamed to Sources/GoodNetworking/Extensions/WithCustomCoder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// CodableExtensions.swift
2+
// WithCustomCoder.swift
33
// GoodNetworking
44
//
55
// Created by Dominik Pethö on 11/9/18.

0 commit comments

Comments
 (0)