7812e0f11c
This PR contains the work done to setup this library. * Improved the configuration, products, dependencies, and targets for the `Package` file; * Restructured the folder structure of the library and test targets to start development work; * Implemented the library, package, documentation and IDE tasks for the `Makefile` file. * Created the `DocC` documentation catalog in the library target; * Added the `CONTRIBUTORS` and `LICENSE` files; * Added `README` file. Reviewed-on: #1 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
57 lines
1.5 KiB
Swift
57 lines
1.5 KiB
Swift
// 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
|
|
//
|
|
//===----------------------------------------------------------------------===
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: AppStoreConnectService.package,
|
|
platforms: [
|
|
.iOS(.v13),
|
|
.macOS(.v10_15),
|
|
.tvOS(.v13),
|
|
.visionOS(.v1),
|
|
.watchOS(.v6)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: AppStoreConnectService.package,
|
|
targets: [AppStoreConnectService.target]
|
|
),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: AppStoreConnectService.target,
|
|
path: "Sources/ASConnectService"
|
|
),
|
|
.testTarget(
|
|
name: AppStoreConnectService.test,
|
|
dependencies: [
|
|
.byName(name: AppStoreConnectService.target)
|
|
],
|
|
path: "Tests/ASConnectService"
|
|
),
|
|
]
|
|
)
|
|
|
|
// MARK: - Constants
|
|
|
|
enum AppStoreConnectService {
|
|
static let package = "asconnect-service"
|
|
static let target = "ASConnectService"
|
|
static let test = "\(AppStoreConnectService.target)Tests"
|
|
}
|