2022-12-15 09:35:00 +00:00
|
|
|
// swift-tools-version: 5.7
|
2022-05-26 13:31:38 +01:00
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
2022-12-15 09:35:00 +00:00
|
|
|
name: "Element Swift",
|
|
|
|
platforms: [
|
2024-05-15 10:37:44 +01:00
|
|
|
.macOS(.v13)
|
2022-12-15 09:35:00 +00:00
|
|
|
],
|
2022-05-26 13:31:38 +01:00
|
|
|
products: [
|
2022-12-15 09:35:00 +00:00
|
|
|
.executable(name: "tools", targets: ["Tools"])
|
2022-05-26 13:31:38 +01:00
|
|
|
],
|
|
|
|
dependencies: [
|
2024-07-19 08:10:47 +00:00
|
|
|
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "1.5.0")),
|
2024-06-06 18:35:57 +01:00
|
|
|
.package(url: "https://github.com/element-hq/swift-command-line-tools.git", revision: "e5eaab1558ef664e6cd80493f64259381670fb3a"),
|
2024-05-15 10:37:44 +01:00
|
|
|
// .package(path: "../../../swift-command-line-tools"),
|
2025-02-24 06:35:18 +00:00
|
|
|
.package(url: "https://github.com/jpsim/Yams", .upToNextMinor(from: "5.3.1"))
|
2022-05-26 13:31:38 +01:00
|
|
|
],
|
|
|
|
targets: [
|
2022-12-15 09:35:00 +00:00
|
|
|
.executableTarget(name: "Tools",
|
|
|
|
dependencies: [
|
2023-03-23 11:26:20 +01:00
|
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
2024-05-15 10:37:44 +01:00
|
|
|
.product(name: "CommandLineTools", package: "swift-command-line-tools"),
|
2023-03-23 11:26:20 +01:00
|
|
|
.product(name: "Yams", package: "Yams")
|
2022-12-15 09:35:00 +00:00
|
|
|
],
|
|
|
|
path: "Tools/Sources")
|
2022-05-26 13:31:38 +01:00
|
|
|
]
|
|
|
|
)
|