-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
39 lines (37 loc) · 1.23 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// 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: "FaceppSwift",
platforms: [
.macOS(.v10_12), .iOS(.v10), .tvOS(.v9), .watchOS(.v3)
],
products: [
.executable(
name: "facepp-cli",
targets: ["FaceppCLI"]),
.library(
name: "FaceppSwift",
targets: ["FaceppSwift"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "0.0.1"),
.package(url: "https://github.com/weichsel/ZIPFoundation/", .upToNextMajor(from: "0.9.0")),
.package(url: "https://github.com/onevcat/Rainbow", from: "3.0.0")
],
targets: [
.target(
name: "FaceppCLI",
dependencies: ["FaceppSwift", "ArgumentParser", "ZIPFoundation", "Rainbow"]),
.target(
name: "FaceppSwift",
dependencies: []),
.testTarget(
name: "FaceppSwiftTests",
dependencies: ["FaceppSwift"]),
.testTarget(
name: "FaceppCLITests",
dependencies: ["FaceppCLI"]),
],
swiftLanguageVersions: [.v5]
)