adwaita-swift/Package.swift
david-swift 4559a81337
All checks were successful
Deploy Docs / publish (push) Successful in 21m2s
SwiftLint / SwiftLint (push) Successful in 5s
Update to versions 0.1.0 of packages
2024-10-17 20:01:51 +02:00

69 lines
1.8 KiB
Swift

// swift-tools-version: 6.0
//
// Package.swift
// Adwaita
//
// Created by david-swift on 08.06.23.
//
import PackageDescription
/// The Adwaita package.
let package = Package(
name: "Adwaita",
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), .macCatalyst(.v13)],
products: [
.library(
name: "Adwaita",
targets: ["Adwaita"]
),
.library(
name: "Core",
targets: ["Core"]
),
.library(
name: "CAdw",
targets: ["CAdw"]
)
],
dependencies: [
.package(url: "https://git.aparoksha.dev/aparoksha/meta", from: "0.1.0"),
.package(url: "https://git.aparoksha.dev/aparoksha/meta-sqlite", from: "0.1.0"),
.package(
url: "https://git.aparoksha.dev/aparoksha/levenshtein-transformations",
from: "0.1.0"
),
.package(url: "https://github.com/CoreOffice/XMLCoder", from: "0.17.1")
],
targets: [
.systemLibrary(
name: "CAdw",
pkgConfig: "libadwaita-1"
),
.target(
name: "Core",
dependencies: [
"CAdw",
.product(name: "LevenshteinTransformations", package: "levenshtein-transformations"),
.product(name: "Meta", package: "meta"),
.product(name: "MetaSQLite", package: "meta-sqlite")
]
),
.target(
name: "Adwaita",
dependencies: ["Core"]
),
.executableTarget(
name: "Generation",
dependencies: [
.product(name: "XMLCoder", package: "XMLCoder")
]
),
.executableTarget(
name: "Demo",
dependencies: ["Adwaita"]
)
],
swiftLanguageModes: [.v5]
)