File tree Expand file tree Collapse file tree 2 files changed +648
-0
lines changed
swift/example_code/sqs/scenario Expand file tree Collapse file tree 2 files changed +648
-0
lines changed Original file line number Diff line number Diff line change 1+ // swift-tools-version: 5.9
2+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ // SPDX-License-Identifier: Apache-2.0
4+ //
5+ // The swift-tools-version declares the minimum version of Swift required to
6+ // build this package.
7+
8+ import PackageDescription
9+
10+ let package = Package (
11+ name: " queue-scenario " ,
12+ // Let Xcode know the minimum Apple platforms supported.
13+ platforms: [
14+ . macOS( . v13) ,
15+ . iOS( . v15)
16+ ] ,
17+ dependencies: [
18+ // Dependencies declare other packages that this package depends on.
19+ . package (
20+ url: " https://github.com/awslabs/aws-sdk-swift " ,
21+ from: " 1.0.0 " ) ,
22+ . package (
23+ url: " https://github.com/apple/swift-argument-parser.git " ,
24+ branch: " main "
25+ )
26+ ] ,
27+ targets: [
28+ // Targets are the basic building blocks of a package, defining a module or a test suite.
29+ // Targets can depend on other targets in this package and products
30+ // from dependencies.
31+ . executableTarget(
32+ name: " queue-scenario " ,
33+ dependencies: [
34+ . product( name: " AWSSNS " , package : " aws-sdk-swift " ) ,
35+ . product( name: " AWSSQS " , package : " aws-sdk-swift " ) ,
36+ . product( name: " ArgumentParser " , package : " swift-argument-parser " )
37+ ] ,
38+ path: " Sources " )
39+
40+ ]
41+ )
You can’t perform that action at this time.
0 commit comments