45 lines
1.0 KiB
Swift
45 lines
1.0 KiB
Swift
// swift-tools-version: 6.0
|
|
//
|
|
// 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/SQLite.swift", from: "0.15.3")
|
|
],
|
|
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]
|
|
)
|