mirror of
https://github.com/nextcloud/desktop.git
synced 2025-07-22 12:09:18 +00:00

- 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>
31 lines
974 B
Swift
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")
|
|
]
|
|
),
|
|
]
|
|
)
|