Skip to content

Commit adf3317

Browse files
committed
Update Package.swift
1 parent 4eff40d commit adf3317

6 files changed

Lines changed: 44 additions & 135 deletions

File tree

.swiftpm/xcode/xcshareddata/xcschemes/NetworkLayer-Package.xcscheme

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

.swiftpm/xcode/xcshareddata/xcschemes/NetworkLayer.xcscheme

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@
2020
ReferencedContainer = "container:">
2121
</BuildableReference>
2222
</BuildActionEntry>
23+
<BuildActionEntry
24+
buildForTesting = "YES"
25+
buildForRunning = "NO"
26+
buildForProfiling = "NO"
27+
buildForArchiving = "NO"
28+
buildForAnalyzing = "NO">
29+
<BuildableReference
30+
BuildableIdentifier = "primary"
31+
BlueprintIdentifier = "NetworkLayerTests"
32+
BuildableName = "NetworkLayerTests"
33+
BlueprintName = "NetworkLayerTests"
34+
ReferencedContainer = "container:">
35+
</BuildableReference>
36+
</BuildActionEntry>
2337
</BuildActionEntries>
2438
</BuildAction>
2539
<TestAction
@@ -28,6 +42,16 @@
2842
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2943
shouldUseLaunchSchemeArgsEnv = "YES">
3044
<Testables>
45+
<TestableReference
46+
skipped = "NO">
47+
<BuildableReference
48+
BuildableIdentifier = "primary"
49+
BlueprintIdentifier = "NetworkLayerTests"
50+
BuildableName = "NetworkLayerTests"
51+
BlueprintName = "NetworkLayerTests"
52+
ReferencedContainer = "container:">
53+
</BuildableReference>
54+
</TestableReference>
3155
</Testables>
3256
</TestAction>
3357
<LaunchAction

.swiftpm/xcode/xcshareddata/xcschemes/NetworkLayerInterfaces.xcscheme renamed to .swiftpm/xcode/xcshareddata/xcschemes/NetworkLayerTests.xcscheme

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
<BuildActionEntries>
99
<BuildActionEntry
1010
buildForTesting = "YES"
11-
buildForRunning = "YES"
12-
buildForProfiling = "YES"
13-
buildForArchiving = "YES"
14-
buildForAnalyzing = "YES">
11+
buildForRunning = "NO"
12+
buildForProfiling = "NO"
13+
buildForArchiving = "NO"
14+
buildForAnalyzing = "NO">
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
17-
BlueprintIdentifier = "NetworkLayerInterfaces"
18-
BuildableName = "NetworkLayerInterfaces"
19-
BlueprintName = "NetworkLayerInterfaces"
17+
BlueprintIdentifier = "NetworkLayerTests"
18+
BuildableName = "NetworkLayerTests"
19+
BlueprintName = "NetworkLayerTests"
2020
ReferencedContainer = "container:">
2121
</BuildableReference>
2222
</BuildActionEntry>
@@ -28,6 +28,16 @@
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "NetworkLayerTests"
36+
BuildableName = "NetworkLayerTests"
37+
BlueprintName = "NetworkLayerTests"
38+
ReferencedContainer = "container:">
39+
</BuildableReference>
40+
</TestableReference>
3141
</Testables>
3242
</TestAction>
3343
<LaunchAction
@@ -47,15 +57,6 @@
4757
savedToolIdentifier = ""
4858
useCustomWorkingDirectory = "NO"
4959
debugDocumentVersioning = "YES">
50-
<MacroExpansion>
51-
<BuildableReference
52-
BuildableIdentifier = "primary"
53-
BlueprintIdentifier = "NetworkLayerInterfaces"
54-
BuildableName = "NetworkLayerInterfaces"
55-
BlueprintName = "NetworkLayerInterfaces"
56-
ReferencedContainer = "container:">
57-
</BuildableReference>
58-
</MacroExpansion>
5960
</ProfileAction>
6061
<AnalyzeAction
6162
buildConfiguration = "Debug">

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ let package = Package(
4444
.product(name: "Typhoon", package: "typhoon"),
4545
],
4646
resources: [
47-
.copy("Resources"),
47+
.process("Resources"),
4848
]
4949
),
5050
]

Package@swift-5.7.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ let package = Package(
4343
.product(name: "Typhoon", package: "typhoon"),
4444
],
4545
resources: [
46-
.copy("Resources"),
46+
.process("Resources"),
4747
]
4848
),
4949
]

Tests/NetworkLayerTests/Classes/Models/MockedData.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
import Foundation
77

88
public enum MockedData {
9-
public static let userJSON: URL = Bundle.module.url(forResource: "Resources/JSONs/user", withExtension: "json")!
9+
public static let userJSON: URL = Bundle.module.url(forResource: "user", withExtension: "json")!
1010
}

0 commit comments

Comments
 (0)