Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #27 from Yasumoto/swift4
Browse files Browse the repository at this point in the history
Create a separate Package definition for swift-tools 4 and Swift 4.0
  • Loading branch information
BrettRToomey authored Oct 3, 2017
2 parents 12bed39 + c699c61 commit dfe34bd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import PackageDescription
let package = Package(
name: "AWS",
targets: [
Target(name: "AWS", dependencies: ["AutoScaling", "EC2", "S3", "AWSSignatureV4"]),
Target(name: "EC2", dependencies: ["AWSSignatureV4"]),
Target(name: "AWS", dependencies: ["AutoScaling", "EC2", "S3"]),
Target(name: "AutoScaling", dependencies: ["AWSSignatureV4"]),
Target(name: "EC2", dependencies: ["AWSSignatureV4"]),
Target(name: "S3", dependencies: ["AWSSignatureV4"]),
Target(name: "VaporS3", dependencies: ["S3"]),
],
Expand Down
24 changes: 24 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// swift-tools-version:4.0

import PackageDescription

let package = Package(
name: "AWS",
products: [
.library(name: "AWS", targets: ["AWS"]),
.library(name: "VaporS3", targets: ["VaporS3"]),
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "2.2.0"),
.package(url: "https://github.com/drmohundro/SWXMLHash", from: "4.1.1"),
],
targets: [
.target(name: "AWS", dependencies: ["AutoScaling", "EC2", "S3"]),
.target(name: "AutoScaling", dependencies: ["AWSSignatureV4", "SWXMLHash"]),
.target(name: "AWSSignatureV4", dependencies: ["Vapor"]),
.target(name: "EC2", dependencies: ["AWSSignatureV4"]),
.target(name: "S3", dependencies: ["AWSSignatureV4"]),
.target(name: "VaporS3", dependencies: ["S3"]),
.testTarget(name: "AWSTests", dependencies: ["AWS"]),
]
)

0 comments on commit dfe34bd

Please sign in to comment.