1 Star 0 Fork 0

德外仓/SafariConverterLib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Package.swift 1.85 KB
一键复制 编辑 原始数据 按行查看 历史
Maxim Topciu 提交于 2021-09-03 21:33 . rewrite hardcoded arguments
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "ContentBlockerConverter",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "ContentBlockerConverter",
type: .static,
targets: ["ContentBlockerConverter", "ContentBlockerEngine"]),
.executable(
name: "ConverterTool",
targets: ["CommandLineWrapper"])
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/gumob/PunycodeSwift.git", from: "2.0.0"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.4.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 which this package depends on.
.target(
name: "CommandLineWrapper",
dependencies: ["ContentBlockerConverter", "Shared", "ArgumentParser"]),
.target(
name: "ContentBlockerConverter",
dependencies: ["Punnycode", "Shared"]),
.target(
name: "ContentBlockerEngine",
dependencies: ["ContentBlockerConverter", "Shared"]),
.target(
name: "Shared"),
.testTarget(
name: "ContentBlockerConverterTests",
dependencies: ["ContentBlockerConverter"]),
.testTarget(
name: "ContentBlockerEngineTests",
dependencies: ["ContentBlockerEngine"]
)
]
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/german_warehouse/SafariConverterLib.git
git@gitee.com:german_warehouse/SafariConverterLib.git
german_warehouse
SafariConverterLib
SafariConverterLib
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385