forked from stephencelis/SQLite.swift
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
24 lines (22 loc) · 843 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "SQLite.swift",
products: [.library(name: "SQLite", targets: ["SQLite"])],
targets: [
.target(name: "SQLite", dependencies: ["SQLiteObjc"]),
.target(name: "SQLiteObjc"),
.testTarget(name: "SQLiteTests", dependencies: ["SQLite"], path: "Tests/SQLiteTests")
],
swiftLanguageVersions: [4]
)
#if os(Linux)
package.dependencies = [.package(url: "https://github.com/stephencelis/CSQLite.git", from: "0.0.3")]
package.targets = [
.target(name: "SQLite", exclude: ["Extensions/FTS4.swift", "Extensions/FTS5.swift"]),
.testTarget(name: "SQLiteTests", dependencies: ["SQLite"], path: "Tests/SQLiteTests", exclude: [
"FTS4Tests.swift",
"FTS5Tests.swift"
])
]
#endif