-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kitura/Kitura#148 Remove passing dependencies as a parameter
Adding dependencies one by one after the package is created
- Loading branch information
1 parent
2a915f9
commit 559fe9f
Showing
1 changed file
with
16 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,32 +37,22 @@ let package = Package( | |
name: "CouchDBSample", | ||
dependencies: [.Target(name: "CouchDB")]), | ||
], | ||
testDependencies: [ | ||
//.Package(url: "[email protected]:IBM-Swift/Kitura-TestFramework.git", majorVersion: 0) | ||
.Package(url: "https://github.com/IBM-Swift/Kitura-TestFramework.git", versions: Version(0,2,0)..<Version(0,3,0)) | ||
]) | ||
|
||
// Ideally, we should only need to specify Kitura-router (or Kitura-net) and SwiftyJSON | ||
// as dependencies. For now, due to what seems to be a defect in SPM, | ||
// we are specifying these other dependencies. | ||
dependencies: [ | ||
//.Package(url: "[email protected]:IBM-Swift/LoggerAPI.git", majorVersion: 0), | ||
.Package(url: "https://github.com/IBM-Swift/LoggerAPI.git", versions: Version(0,2,0)..<Version(0,3,0)), | ||
//.Package(url: "[email protected]:IBM-Swift/HeliumLogger.git", majorVersion: 0), | ||
.Package(url: "https://github.com/IBM-Swift/HeliumLogger.git", versions: Version(0,2,0)..<Version(0,3,0)), | ||
//.Package(url: "[email protected]:IBM-Swift/BlueSocket.git", majorVersion: 0), | ||
.Package(url: "https://github.com/IBM-Swift/BlueSocket.git", majorVersion: 0), | ||
//.Package(url: "[email protected]:IBM-Swift/Kitura-sys.git", majorVersion: 0), | ||
.Package(url: "https://github.com/IBM-Swift/Kitura-sys.git", versions: Version(0,2,0)..<Version(0,3,0)), | ||
//.Package(url: "[email protected]:IBM-Swift/Kitura-net.git", majorVersion: 0), | ||
.Package(url: "https://github.com/IBM-Swift/Kitura-net.git", versions: Version(0,2,0)..<Version(0,3,0)), | ||
//.Package(url: "[email protected]:IBM-Swift/Kitura-router.git", majorVersion: 0), | ||
.Package(url: "https://github.com/IBM-Swift/Kitura-router.git", versions: Version(0,2,0)..<Version(0,3,0)), | ||
//.Package(url: "[email protected]:IBM-Swift/Kitura-Pcre2.git", majorVersion: 0), | ||
.Package(url: "https://github.com/IBM-Swift/Kitura-Pcre2.git", versions: Version(0,2,0)..<Version(0,3,0)), | ||
//.Package(url: "[email protected]:IBM-Swift/Kitura-CurlHelpers.git", majorVersion: 0), | ||
.Package(url: "https://github.com/IBM-Swift/Kitura-CurlHelpers.git", versions: Version(0,2,0)..<Version(0,3,0)), | ||
//.Package(url: "[email protected]:IBM-Swift/Kitura-HttpParserHelper.git", majorVersion: 0), | ||
.Package(url: "https://github.com/IBM-Swift/Kitura-HttpParserHelper.git", versions: Version(0,2,0)..<Version(0,3,0)), | ||
.Package(url: swiftyJsonUrl, majorVersion: swiftyJsonVersion) | ||
], | ||
testDependencies: [ | ||
//.Package(url: "[email protected]:IBM-Swift/Kitura-TestFramework.git", majorVersion: 0) | ||
.Package(url: "https://github.com/IBM-Swift/Kitura-TestFramework.git", versions: Version(0,2,0)..<Version(0,3,0)) | ||
] | ||
) | ||
|
||
package.dependencies.append(.Package(url: "https://github.com/IBM-Swift/LoggerAPI.git", versions: Version(0,2,0)..<Version(0,3,0))) | ||
package.dependencies.append(.Package(url: "https://github.com/IBM-Swift/HeliumLogger.git", versions: Version(0,2,0)..<Version(0,3,0))) | ||
package.dependencies.append(.Package(url: "https://github.com/IBM-Swift/BlueSocket.git", majorVersion: 0)) | ||
package.dependencies.append(.Package(url: "https://github.com/IBM-Swift/Kitura-sys.git", versions: Version(0,2,0)..<Version(0,3,0))) | ||
package.dependencies.append(.Package(url: "https://github.com/IBM-Swift/Kitura-net.git", versions: Version(0,2,0)..<Version(0,3,0))) | ||
package.dependencies.append(.Package(url: "https://github.com/IBM-Swift/Kitura-router.git", versions: Version(0,2,0)..<Version(0,3,0))) | ||
package.dependencies.append(.Package(url: "https://github.com/IBM-Swift/Kitura-Pcre2.git", versions: Version(0,2,0)..<Version(0,3,0))) | ||
package.dependencies.append(.Package(url: "https://github.com/IBM-Swift/Kitura-CurlHelpers.git", versions: Version(0,2,0)..<Version(0,3,0))) | ||
package.dependencies.append(.Package(url: "https://github.com/IBM-Swift/Kitura-HttpParserHelper.git", versions: Version(0,2,0)..<Version(0,3,0))) | ||
package.dependencies.append(.Package(url: swiftyJsonUrl, majorVersion: swiftyJsonVersion)) |