2025-10-05 23:16:54 +00:00
|
|
|
// swift-tools-version: 5.10
|
|
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===
|
|
|
|
|
//
|
|
|
|
|
// This source file is part of the ASConnectService open source project
|
|
|
|
|
//
|
|
|
|
|
// Copyright (c) 2025 Röck+Cöde VoF. and the ASConnectService project authors
|
|
|
|
|
// Licensed under the EUPL 1.2 or later.
|
|
|
|
|
//
|
|
|
|
|
// See LICENSE for license information
|
|
|
|
|
// See CONTRIBUTORS for the list of ASConnectService project authors
|
|
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===
|
2025-10-06 00:45:21 +02:00
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
|
|
let package = Package(
|
2025-10-05 23:16:54 +00:00
|
|
|
name: AppStoreConnectService.package,
|
|
|
|
|
platforms: [
|
|
|
|
|
.iOS(.v13),
|
|
|
|
|
.macOS(.v10_15),
|
|
|
|
|
.tvOS(.v13),
|
|
|
|
|
.visionOS(.v1),
|
|
|
|
|
.watchOS(.v6)
|
|
|
|
|
],
|
2025-10-06 00:45:21 +02:00
|
|
|
products: [
|
|
|
|
|
.library(
|
2025-10-05 23:16:54 +00:00
|
|
|
name: AppStoreConnectService.package,
|
|
|
|
|
targets: [AppStoreConnectService.target]
|
2025-10-06 00:45:21 +02:00
|
|
|
),
|
|
|
|
|
],
|
2025-10-05 23:16:54 +00:00
|
|
|
dependencies: [
|
|
|
|
|
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0")
|
|
|
|
|
],
|
2025-10-06 00:45:21 +02:00
|
|
|
targets: [
|
|
|
|
|
.target(
|
2025-10-05 23:16:54 +00:00
|
|
|
name: AppStoreConnectService.target,
|
|
|
|
|
path: "Sources/ASConnectService"
|
2025-10-06 00:45:21 +02:00
|
|
|
),
|
|
|
|
|
.testTarget(
|
2025-10-05 23:16:54 +00:00
|
|
|
name: AppStoreConnectService.test,
|
|
|
|
|
dependencies: [
|
|
|
|
|
.byName(name: AppStoreConnectService.target)
|
|
|
|
|
],
|
|
|
|
|
path: "Tests/ASConnectService"
|
2025-10-06 00:45:21 +02:00
|
|
|
),
|
|
|
|
|
]
|
|
|
|
|
)
|
2025-10-05 23:16:54 +00:00
|
|
|
|
|
|
|
|
// MARK: - Constants
|
|
|
|
|
|
|
|
|
|
enum AppStoreConnectService {
|
|
|
|
|
static let package = "asconnect-service"
|
|
|
|
|
static let target = "ASConnectService"
|
|
|
|
|
static let test = "\(AppStoreConnectService.target)Tests"
|
|
|
|
|
}
|