Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (22 sloc) 843 Bytes
// 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
You can’t perform that action at this time.