Skip to content

Commit b05db25

Browse files
carlynoramaeuanh
andauthored
Update Package.swift (#153)
Motivation ---------- I _believe_ the line `.package(path: "../.."),` in the `Package.swift` of the Hummingbird example is vestigial from perhaps a previous version where it was just a `Package.swift` and a `main.swift`. If it is need explicitly for a container build, please mention in the docs because a regular `swift build` to test the app locally doesn't work until it is removed. Modifications ------------- removed the single line `.package(path: "../..")` from the `Package.swift` in the Hummingbird example. Result ------ Example will now build to be tested pre-containerization test. Test Plan --------- Don't believe change needs a test as the example already does not have tests. --------- Co-authored-by: Euan Harris <euanh@apple.com>
1 parent a87a0b1 commit b05db25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/HelloWorldHummingbird/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
platforms: [.macOS(.v14)],
2222
dependencies: [
2323
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.1.0"),
24-
.package(path: "../.."),
24+
.package(url: "https://github.com/apple/swift-container-plugin", from: "1.0.0"),
2525
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
2626
],
2727
targets: [

0 commit comments

Comments
 (0)