From d0a8385795875f40aa507e6a2388a56710a6d408 Mon Sep 17 00:00:00 2001 From: Tanner Date: Mon, 9 Dec 2019 15:18:57 -0500 Subject: [PATCH] beta.2 (#248) --- Package.swift | 11 +++++++---- Tests/LinuxMain.swift | 8 -------- Tests/MySQLKitTests/XCTestManifests.swift | 18 ------------------ 3 files changed, 7 insertions(+), 30 deletions(-) delete mode 100755 Tests/LinuxMain.swift delete mode 100644 Tests/MySQLKitTests/XCTestManifests.swift diff --git a/Package.swift b/Package.swift index 8c9a5405..05d9ab18 100644 --- a/Package.swift +++ b/Package.swift @@ -1,15 +1,18 @@ -// swift-tools-version:5.0 +// swift-tools-version:5.1 import PackageDescription let package = Package( name: "mysql-kit", + platforms: [ + .macOS(.v10_14) + ], products: [ .library(name: "MySQLKit", targets: ["MySQLKit"]), ], dependencies: [ - .package(url: "https://github.com/vapor/mysql-nio.git", .branch("master")), - .package(url: "https://github.com/vapor/sql-kit.git", .branch("master")), - .package(url: "https://github.com/vapor/async-kit.git", .branch("master")), + .package(url: "https://github.com/vapor/mysql-nio.git", from: "1.0.0-beta.2"), + .package(url: "https://github.com/vapor/sql-kit.git", from: "3.0.0-beta.2"), + .package(url: "https://github.com/vapor/async-kit.git", from: "1.0.0-beta.2"), ], targets: [ diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift deleted file mode 100755 index ee18dd6f..00000000 --- a/Tests/LinuxMain.swift +++ /dev/null @@ -1,8 +0,0 @@ -import XCTest - -import MySQLKitTests - -var tests = [XCTestCaseEntry]() -tests += MySQLKitTests.__allTests() - -XCTMain(tests) diff --git a/Tests/MySQLKitTests/XCTestManifests.swift b/Tests/MySQLKitTests/XCTestManifests.swift deleted file mode 100644 index 697d0300..00000000 --- a/Tests/MySQLKitTests/XCTestManifests.swift +++ /dev/null @@ -1,18 +0,0 @@ -#if !canImport(ObjectiveC) -import XCTest - -extension MySQLKitTests { - // DO NOT MODIFY: This is autogenerated, use: - // `swift test --generate-linuxmain` - // to regenerate. - static let __allTests__MySQLKitTests = [ - ("testSQLKitBenchmark", testSQLKitBenchmark), - ] -} - -public func __allTests() -> [XCTestCaseEntry] { - return [ - testCase(MySQLKitTests.__allTests__MySQLKitTests), - ] -} -#endif