meta-sqlite/Package.swift
david-swift 8cf39abcef
Some checks are pending
Deploy Docs / publish (push) Waiting to run
SwiftLint / SwiftLint (push) Waiting to run
Fix not building with latest SQLite.swift
2026-02-02 21:14:17 +01:00

46 lines
1.2 KiB
Swift

// swift-tools-version: 6.1
//
// Package.swift
// meta-sqlite
//
// Created by david-swift on 04.10.24.
//
import PackageDescription
/// The meta-sqlite package is part of the Aparoksha project.
let package = Package(
name: "meta-sqlite",
platforms: [
.macOS(.v10_15),
.iOS(.v13)
],
products: [
.library(
name: "MetaSQLite",
targets: ["MetaSQLite"]
)
],
dependencies: [
.package(url: "https://git.aparoksha.dev/aparoksha/meta", from: "0.1.0"),
.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"])
],
targets: [
.target(
name: "MetaSQLite",
dependencies: [
.product(name: "Meta", package: "meta"),
.product(name: "SQLite", package: "SQLite.swift")
],
path: "Sources"
),
.executableTarget(
name: "Tests",
dependencies: ["MetaSQLite"],
path: "Tests"
)
],
swiftLanguageModes: [.v5]
)