Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e7940c06a | |||
| 05d3606100 | |||
| 8cf39abcef |
@ -1,4 +1,4 @@
|
||||
// swift-tools-version: 6.0
|
||||
// swift-tools-version: 6.1
|
||||
//
|
||||
// Package.swift
|
||||
// meta-sqlite
|
||||
@ -8,6 +8,24 @@
|
||||
|
||||
import PackageDescription
|
||||
|
||||
/// The dependencies.
|
||||
var dependencies: [Package.Dependency] = [
|
||||
.package(url: "https://git.aparoksha.dev/aparoksha/meta", from: "0.1.0")
|
||||
]
|
||||
|
||||
#if os(Linux)
|
||||
dependencies += [
|
||||
.package(url: "https://github.com/stephencelis/CSQLite", from: "3.50.4"),
|
||||
.package(
|
||||
url: "https://github.com/stephencelis/SQLite.swift",
|
||||
from: "0.15.3",
|
||||
traits: [.defaults, "SQLiteSwiftCSQLite"]
|
||||
)
|
||||
]
|
||||
#else
|
||||
dependencies.append(.package(url: "https://github.com/stephencelis/SQLite.swift", from: "0.15.3"))
|
||||
#endif
|
||||
|
||||
/// The meta-sqlite package is part of the Aparoksha project.
|
||||
let package = Package(
|
||||
name: "meta-sqlite",
|
||||
@ -21,10 +39,7 @@ let package = Package(
|
||||
targets: ["MetaSQLite"]
|
||||
)
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://git.aparoksha.dev/aparoksha/meta", from: "0.1.0"),
|
||||
.package(url: "https://github.com/stephencelis/SQLite.swift", from: "0.15.3")
|
||||
],
|
||||
dependencies: dependencies,
|
||||
targets: [
|
||||
.target(
|
||||
name: "MetaSQLite",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user