Skip to content

Commit 2b61f77

Browse files
committed
Became RC and update readme
1 parent 456b1b3 commit 2b61f77

3 files changed

Lines changed: 20 additions & 14 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: test
22
on: [push, pull_request]
33
jobs:
44
xenial:
5-
container:
6-
image: vapor/swift:5.1-xenial
5+
container:
6+
image: vapor/swift:5.2-xenial
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v1
1010
- run: swift test --enable-test-discovery --sanitize=thread
1111
bionic:
12-
container:
13-
image: vapor/swift:5.1-bionic
12+
container:
13+
image: vapor/swift:5.2-bionic
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v1

Package.swift

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.2
22
import PackageDescription
33
import Foundation
44

@@ -30,27 +30,29 @@ extension Array where Element == Dep {
3030

3131
var deps: [Dep] = []
3232

33-
deps.append("https://github.com/vapor/mysql-nio.git", from: "1.0.0-beta.2", targets: "MySQLNIO")
33+
deps.append("https://github.com/vapor/mysql-nio.git", from: "1.0.0-rc", targets: .product(name: "MySQLNIO", package: "mysql-nio"))
3434

3535
if localDev {
36-
deps.appendLocal("Bridges", targets: "Bridges")
36+
deps.appendLocal("Bridges", targets: .product(name: "Bridges", package: "Bridges"))
3737
} else {
38-
deps.append("https://github.com/SwifQL/Bridges.git", from: "1.0.0-beta.2", targets: "Bridges")
38+
deps.append("https://github.com/SwifQL/Bridges.git", from: "1.0.0-rc", targets: .product(name: "Bridges", package: "Bridges"))
3939
}
4040

4141
// MARK: - Package
4242

4343
let package = Package(
4444
name: "MySQLBridge",
4545
platforms: [
46-
.macOS(.v10_14)
46+
.macOS(.v10_15)
4747
],
4848
products: [
4949
.library(name: "MySQLBridge", targets: ["MySQLBridge"]),
5050
],
5151
dependencies: deps.map { $0.package },
5252
targets: [
5353
.target(name: "MySQLBridge", dependencies: deps.flatMap { $0.targets }),
54-
.testTarget(name: "MySQLBridgeTests", dependencies: ["MySQLBridge"]),
54+
.testTarget(name: "MySQLBridgeTests", dependencies: [
55+
.target(name: "MySQLBridge")
56+
]),
5557
]
5658
)

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<img src="https://img.shields.io/badge/license-MIT-brightgreen.svg" alt="MIT License">
44
</a>
55
<a href="https://swift.org">
6-
<img src="https://img.shields.io/badge/swift-5.1-brightgreen.svg" alt="Swift 5.1">
6+
<img src="https://img.shields.io/badge/swift-5.2-brightgreen.svg" alt="Swift 5.2">
77
</a>
88
<img src="https://img.shields.io/github/workflow/status/SwifQL/MySQLBridge/test" alt="Github Actions">
99
</p>
@@ -15,9 +15,13 @@ Work with MySQL with SwifQL through its pure NIO driver.
1515
## Installation
1616

1717
```swift
18-
.package(url: "https://github.com/SwifQL/MySQLBridge.git", from:"1.0.0-beta.2"),
19-
.package(url: "https://github.com/SwifQL/VaporBridges.git", from:"1.0.0-beta.2"),
20-
.target(name: "App", dependencies: ["Vapor", "MySQLBridge", "VaporBridges"]),
18+
.package(url: "https://github.com/SwifQL/MySQLBridge.git", from:"1.0.0-rc"),
19+
.package(url: "https://github.com/SwifQL/VaporBridges.git", from:"1.0.0-rc"),
20+
.target(name: "App", dependencies: [
21+
.product(name: "Vapor", package: "vapor"),
22+
.product(name: "MySQLBridge", package: "MySQLBridge"),
23+
.product(name: "VaporBridges", package: "VaporBridges")
24+
]),
2125
```
2226

2327
For more info please take a look at the `Bridges` repo.

0 commit comments

Comments
 (0)