Files
nextcloud-desktop/admin/osx/mac-crafter/Package.swift
Iva Horn e93e23f0a7 feat(mac-crafter): Update to Swift 6.1 and Strict Concurrency Checks.
- Isolated global state into an actor.
- Updated declarations and calls to reflect asynchronicity.
- The replacement of the enumerator with subpathsOfDirectory(atPath:) was suggested by Copilot to necessarily avoid the use of synchronous enumeration in an asynchronous context.
- Updated README.

Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-07-16 11:56:55 +02:00

31 lines
974 B
Swift

// swift-tools-version: 6.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
/*
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-2.0-or-later
*/
import PackageDescription
let package = Package(
name: "mac-crafter",
platforms: [
.macOS(.v11),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.4.0")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.executableTarget(
name: "mac-crafter",
dependencies: [.product(name: "ArgumentParser", package: "swift-argument-parser")],
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency")
]
),
]
)