加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Package.swift 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
cchsora 提交于 2022-04-13 15:53 . 修改 网络库分支
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "CarouselView",
platforms: [
.macCatalyst(.v13),
.iOS(.v12),
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "CarouselView",
targets: ["CarouselView"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://gitee.com/cchsora/Network", .branch("master")),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "CarouselView",
dependencies: ["Network"]),
.testTarget(
name: "CarouselViewTests",
dependencies: ["CarouselView"]),
]
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化