Renamed the Web package as Infrastructure (#24)
Reviewed-on: rock-n-code/loud-amsterdam#24 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit is contained in:
+6
-6
@@ -15,8 +15,8 @@
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "Web"
|
||||
BuildableName = "Web"
|
||||
BlueprintIdentifier = "Infrastructure"
|
||||
BuildableName = "Infrastructure"
|
||||
ReferencedContainer = "container:">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
@@ -33,8 +33,8 @@
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "WebTests"
|
||||
BuildableName = "WebTests"
|
||||
BlueprintIdentifier = "InfrastructureTests"
|
||||
BuildableName = "InfrastructureTests"
|
||||
ReferencedContainer = "container:">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
@@ -61,8 +61,8 @@
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "Web"
|
||||
BuildableName = "Web"
|
||||
BlueprintIdentifier = "Infrastructure"
|
||||
BuildableName = "Infrastructure"
|
||||
ReferencedContainer = "container:">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
@@ -3,15 +3,15 @@
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "Web",
|
||||
name: "Infrastructure",
|
||||
platforms: [
|
||||
.macOS(.v15),
|
||||
],
|
||||
products: [
|
||||
.library(
|
||||
name: "Web",
|
||||
name: "Infrastructure",
|
||||
targets: [
|
||||
"Web"
|
||||
"Infrastructure"
|
||||
]
|
||||
),
|
||||
],
|
||||
@@ -23,7 +23,7 @@ let package = Package(
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "Web",
|
||||
name: "Infrastructure",
|
||||
dependencies: [
|
||||
.product(
|
||||
name: "Hummingbird",
|
||||
@@ -33,9 +33,9 @@ let package = Package(
|
||||
path: "Sources"
|
||||
),
|
||||
.testTarget(
|
||||
name: "WebTests",
|
||||
name: "InfrastructureTests",
|
||||
dependencies: [
|
||||
.byName(name: "Web"),
|
||||
.byName(name: "Infrastructure"),
|
||||
.product(
|
||||
name: "HummingbirdTesting",
|
||||
package: "hummingbird"
|
||||
+1
-1
@@ -3,7 +3,7 @@ import HummingbirdTesting
|
||||
import NIOCore
|
||||
import Testing
|
||||
|
||||
@testable import Web
|
||||
@testable import Infrastructure
|
||||
|
||||
@Suite("addController method")
|
||||
struct RouterMethodsTests {
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import Hummingbird
|
||||
import Web
|
||||
import Infrastructure
|
||||
|
||||
/// A controller serving its path back as plain text, used to observe route registration.
|
||||
struct StubController {
|
||||
Reference in New Issue
Block a user