Skip to content

Commit

Permalink
update smithy-swift repo in Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
dayaffe committed Aug 26, 2023
1 parent bef6540 commit 4a40720
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func addDependencies(clientRuntimeVersion: Version, crtVersion: Version) {
}

func addClientRuntimeDependency(_ version: Version) {
let smithySwiftURL = "https://github.com/awslabs/smithy-swift"
let smithySwiftURL = "https://github.com/smithy-lang/smithy-swift"
let useLocalDeps = ProcessInfo.processInfo.environment["AWS_SWIFT_SDK_USE_LOCAL_DEPS"] != nil
let useMainDeps = ProcessInfo.processInfo.environment["AWS_SWIFT_SDK_USE_MAIN_DEPS"] != nil
switch (useLocalDeps, useMainDeps) {
Expand Down Expand Up @@ -109,7 +109,7 @@ func addIntegrationTestTarget(_ name: String) {
package.targets += [
.testTarget(
name: integrationTestName,
dependencies: [.crt, .clientRuntime, .awsClientRuntime, .byName(name: name), .smithyTestUtils],
dependencies: [.crt, .clientRuntime, .awsClientRuntime, "AWSIAM", "AWSCloudWatchLogs", .byName(name: name), .smithyTestUtils],
path: "./IntegrationTests/Services/\(integrationTestName)",
resources: [.process("Resources")]
)
Expand Down Expand Up @@ -531,9 +531,14 @@ let serviceTargets: [String] = [
serviceTargets.forEach(addServiceTarget)

let servicesWithIntegrationTests: [String] = [
"AWSECS",
"AWSKinesis",
"AWSMediaConvert",
"AWSS3",
"AWSTranscribeStreaming",
]

servicesWithIntegrationTests.forEach(addIntegrationTestTarget)

// Uncomment this line to enable protocol tests
// addProtocolTests()
// addProtocolTests()

0 comments on commit 4a40720

Please sign in to comment.