mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-05-03 07:22:27 +00:00
Update readme.md
Change instruction to use branch v1 in Package.swift
This commit is contained in:
committed by
GitHub
parent
5ecc24fa54
commit
11756b4e00
@@ -27,7 +27,7 @@ First, create a SwiftPM project and pull Swift AWS Lambda Runtime as dependency
|
||||
.executable(name: "MyLambda", targets: ["MyLambda"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", from: "1.0.0-alpha"),
|
||||
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", branch: "v1"),
|
||||
],
|
||||
targets: [
|
||||
.executableTarget(name: "MyLambda", dependencies: [
|
||||
@@ -96,7 +96,7 @@ Next, create a `MyLambda.swift` and implement your Lambda. Note that the file ca
|
||||
.executable(name: "MyLambda", targets: ["MyLambda"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", from: "1.0.0-alpha"),
|
||||
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", branch: "v1"),
|
||||
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", branch: "main"),
|
||||
],
|
||||
targets: [
|
||||
|
||||
Reference in New Issue
Block a user