Skip to content

Commit 2a2b419

Browse files
committed
Update Package.swift
1 parent 7a76c32 commit 2a2b419

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

Examples/CloudFunctions/Package.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ let package = Package(
88
.macOS(.v10_13),
99
],
1010
products: [
11-
// introductory example
11+
// Introductory example.
1212
.executable(name: "HelloWorld", targets: ["HelloWorld"]),
13-
// good for benchmarking
13+
// Good for benchmarking.
1414
.executable(name: "Benchmark", targets: ["Benchmark"]),
15-
// demonstrate different types of error handling
15+
// Demonstrate different types of error handling.
1616
.executable(name: "ErrorHandling", targets: ["ErrorHandling"]),
17-
// demostrate how to integrate with AWS API Gateway
17+
// Demostrate how to integrate with API Gateway.
1818
.executable(name: "APIGateway", targets: ["APIGateway"]),
19-
// fully featured example with domain specific business logic
19+
// Fully featured example with domain specific business logic.
2020
.executable(name: "CurrencyExchange", targets: ["CurrencyExchange"]),
2121
],
2222
dependencies: [
23-
// this is the dependency on the swift-tencent-scf-runtime library
24-
// in real-world projects this would say
23+
// This is the dependency on the swift-tencent-scf-runtime library.
24+
// In real-world projects, this would say:
2525
// .package(url: "https://github.com/stevapple/swift-tencent-scf-runtime.git", from: "1.0.0")
2626
.package(name: "swift-tencent-scf-runtime", path: "../.."),
2727
],

Examples/LocalDebugging/MyCloudFunction/Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ let package = Package(
1111
.executable(name: "MyCloudFunction", targets: ["MyCloudFunction"]),
1212
],
1313
dependencies: [
14-
// this is the dependency on the swift-tencent-scf-runtime library
15-
// in real-world projects this would say
14+
// This is the dependency on the swift-tencent-scf-runtime library.
15+
// In real-world projects this would say:
1616
// .package(url: "https://github.com/stevapple/swift-tencent-scf-runtime.git", from: "0.1.0")
1717
.package(name: "swift-tencent-scf-runtime", path: "../../.."),
1818
.package(name: "Shared", path: "../Shared"),

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ let package = Package(
88
.macOS(.v10_13),
99
],
1010
products: [
11-
// this library exports `TencentSCFRuntimeCore` and adds Foundation convenience methods
11+
// This library exports `TencentSCFRuntimeCore` and adds Foundation convenience methods.
1212
.library(name: "TencentSCFRuntime", targets: ["TencentSCFRuntime"]),
13-
// this has all the main functionality for lambda and it does not link Foundation
13+
// This has all the main functionality for SCF and it does not link Foundation.
1414
.library(name: "TencentSCFRuntimeCore", targets: ["TencentSCFRuntimeCore"]),
15-
// common SCF events
15+
// Common SCF events and Tencent Cloud helpers.
1616
.library(name: "TencentSCFEvents", targets: ["TencentSCFEvents"]),
17-
// for testing only
17+
// Testing helpers and utilities.
1818
.library(name: "TencentSCFTesting", targets: ["TencentSCFTesting"]),
1919
],
2020
dependencies: [

0 commit comments

Comments
 (0)