mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-10 22:45:59 +05:45
77 lines
2.1 KiB
Swift
77 lines
2.1 KiB
Swift
// swift-tools-version:6.0
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
/*
|
|
* Copyright 2026 Google LLC
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "ZipBuilder",
|
|
platforms: [.macOS(.v15)],
|
|
products: [
|
|
.executable(name: "zip-builder", targets: ["ZipBuilderCLI"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
|
|
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.0"),
|
|
.package(
|
|
url: "https://github.com/swiftlang/swift-package-manager.git",
|
|
revision: "swift-6.3.3-RELEASE"
|
|
),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "ZipBuilderCLI",
|
|
dependencies: [
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
|
.product(name: "Logging", package: "swift-log"),
|
|
"ManifestReader",
|
|
"Common",
|
|
]
|
|
),
|
|
.target(
|
|
name: "ManifestReader",
|
|
dependencies: [
|
|
.product(name: "Logging", package: "swift-log"),
|
|
"Common",
|
|
]
|
|
),
|
|
.target(
|
|
name: "Common",
|
|
dependencies: [
|
|
.product(name: "Logging", package: "swift-log"),
|
|
.product(name: "SwiftPM", package: "swift-package-manager"),
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "ManifestReaderTests",
|
|
dependencies: [
|
|
"ManifestReader",
|
|
"Common",
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "ZipBuilderCLITests",
|
|
dependencies: [
|
|
"ZipBuilderCLI",
|
|
"Common",
|
|
"ManifestReader",
|
|
]
|
|
),
|
|
]
|
|
)
|