Skip to content

Commit e3a579c

Browse files
committed
minor wording changes
1 parent 32a0062 commit e3a579c

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

Package.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ let package = Package(
101101
intent: .custom(
102102
verb: "lambda-build",
103103
description:
104-
"Archive the Lambda binary and prepare it for uploading to AWS. Requires docker on macOS or non Amazonlinux 2 distributions."
104+
"Compile and archive (zip) the Lambda binary and prepare it for uploading to AWS. Requires docker on macOS or non Amazonlinux 2 distributions."
105105
),
106106
permissions: [
107107
.allowNetworkConnections(
108108
scope: .docker,
109-
reason: "This plugin uses Docker to create the AWS Lambda ZIP package."
109+
reason: "This plugin uses Docker to compile code for Amazon Linux."
110110
)
111111
]
112112
),
@@ -120,7 +120,7 @@ let package = Package(
120120
intent: .custom(
121121
verb: "lambda-deploy",
122122
description:
123-
"Deploy the Lambda function. You must have an AWS account and know an access key and secret access key."
123+
"Deploy the Lambda function. You must have an AWS account and an access key and secret access key."
124124
),
125125
permissions: [
126126
.allowNetworkConnections(
@@ -138,8 +138,7 @@ let package = Package(
138138
dependencies: [
139139
.product(name: "NIOHTTP1", package: "swift-nio"),
140140
.product(name: "NIOCore", package: "swift-nio"),
141-
],
142-
swiftSettings: [.swiftLanguageMode(.v6)]
141+
]
143142
),
144143
.testTarget(
145144
name: "AWSLambdaRuntimeTests",

Package@swift-6.0.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ let package = Package(
9090
intent: .custom(
9191
verb: "lambda-build",
9292
description:
93-
"Archive the Lambda binary and prepare it for uploading to AWS. Requires docker on macOS or non Amazonlinux 2 distributions."
93+
"Compile and archive (zip) the Lambda binary and prepare it for uploading to AWS. Requires docker on macOS or non Amazonlinux 2 distributions."
9494
),
9595
permissions: [
9696
.allowNetworkConnections(
9797
scope: .docker,
98-
reason: "This plugin uses Docker to create the AWS Lambda ZIP package."
98+
reason: "This plugin uses Docker to compile code for Amazon Linux."
9999
)
100100
]
101101
),
@@ -109,7 +109,7 @@ let package = Package(
109109
intent: .custom(
110110
verb: "lambda-deploy",
111111
description:
112-
"Deploy the Lambda function. You must have an AWS account and know an access key and secret access key."
112+
"Deploy the Lambda function. You must have an AWS account and an access key and secret access key."
113113
),
114114
permissions: [
115115
.allowNetworkConnections(
@@ -127,8 +127,7 @@ let package = Package(
127127
dependencies: [
128128
.product(name: "NIOHTTP1", package: "swift-nio"),
129129
.product(name: "NIOCore", package: "swift-nio"),
130-
],
131-
swiftSettings: [.swiftLanguageMode(.v6)]
130+
]
132131
),
133132
.testTarget(
134133
name: "AWSLambdaRuntimeTests",

Sources/AWSLambdaPluginHelper/lambda-build/Builder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ struct Builder {
247247
248248
REQUIREMENTS: To use this plugin, you must have docker installed and started.
249249
250-
USAGE: swift package --allow-network-connections docker archive
250+
USAGE: swift package --allow-network-connections docker lambda-build
251251
[--help] [--verbose]
252252
[--output-path <path>]
253253
[--products <list of products>]

0 commit comments

Comments
 (0)