Skip to content

Commit

Permalink
[examples] Fix path settings in the examples' Package.swift (#439)
Browse files Browse the repository at this point in the history
All the `Package.swift` files from the examples use `path: "."` instead
of `path: "Sources"` which triggers error messages when users add a
`Tests` directory.
  • Loading branch information
sebsto authored Dec 22, 2024
1 parent 18660fc commit e5404c9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Examples/APIGateway/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let package = Package(
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
],
path: "."
path: "Sources"
)
]
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/BackgroundTasks/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ let package = Package(
dependencies: [
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime")
],
path: "."
path: "Sources"
)
]
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/CDK/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let package = Package(
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
],
path: "."
path: "Sources"
)
]
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/HelloWorld/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ let package = Package(
dependencies: [
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime")
],
path: "."
path: "Sources"
)
]
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/Streaming/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ let package = Package(
dependencies: [
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime")
],
path: "."
path: "Sources"
)
]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let package = Package(
dependencies: [
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime")
],
path: "."
path: "Sources"
)
]
)

0 comments on commit e5404c9

Please sign in to comment.