Skip to content

Commit 4494361

Browse files
authored
Fix dependency on HB example (#618)
The Hummingbird-Lambda exports the Swift AWS Lambda Runtime. Therefore, the sample project doesn't need to declare the runtime as a dependency.
1 parent 72865e4 commit 4494361

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Examples/HummingbirdLambda/Package.swift

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@ let package = Package(
77
name: "HBLambda",
88
platforms: [.macOS(.v15)],
99
dependencies: [
10-
// For local development (default)
11-
.package(name: "swift-aws-lambda-runtime", path: "../.."),
12-
13-
// For standalone usage, comment the line above and uncomment below:
14-
// .package(url: "https://github.com/awslabs/swift-aws-lambda-runtime.git", from: "2.0.0"),
10+
// the Swift Lambda Runtime is a dependency of hummingbird-lambda and it exports the runtime
11+
// no need to import it here
1512

1613
.package(
1714
url: "https://github.com/hummingbird-project/hummingbird-lambda.git",
18-
branch: "main"
15+
from: "2.0.1"
1916
),
2017
.package(url: "https://github.com/awslabs/swift-aws-lambda-events.git", from: "1.1.0"),
2118
],

0 commit comments

Comments
 (0)