Skip to content

Commit

Permalink
update swift package
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Amling committed Apr 19, 2020
1 parent a1bd505 commit e265050
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// swift-tools-version:5.2

//
// Package.swift
// Perfect-MySQL
Expand All @@ -17,24 +19,24 @@
//===----------------------------------------------------------------------===//
//



import PackageDescription

#if os(OSX)
let package = Package(
name: "MySQL",
targets: [],
dependencies: [
.Package(url: "https://github.com/PerfectlySoft/Perfect-mysqlclient.git", majorVersion: 2, minor: 0)
.package(url: "https://github.com/PerfectlySoft/Perfect-mysqlclient.git", from: "2.0.0"),
],
exclude: []
targets: []
)
#else
let package = Package(
name: "MySQL",
targets: [],
dependencies: [
.Package(url: "https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git", majorVersion: 2, minor: 0)
.package(url: "https://github.com/PerfectlySoft/Perfect-mysqlclient-Linux.git", from: "2.0.0"),
],
exclude: []
targets: []
)
#endif

0 comments on commit e265050

Please sign in to comment.