加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Package.swift 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
codelint 提交于 2023-03-27 14:43 . enhance
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "UILint",
platforms: [
.iOS(.v15), .macOS(.v12)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "UILint",
targets: ["UILint"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
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: "UILint",
dependencies: []),
.testTarget(
name: "UILintTests",
dependencies: ["UILint"]),
]
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化