This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathPackage.swift
64 lines (62 loc) · 2.04 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "Prism",
platforms: [.macOS(.v10_12)],
products: [
.executable(
name: "prism",
targets: ["prism"]
),
.library(
name: "PrismCore",
targets: ["PrismCore"]
),
.library(
name: "ZeplinSwift",
targets: ["ZeplinSwift"]
),
.library(
name: "FigmaSwift",
targets: ["FigmaSwift"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.0.1"),
.package(url: "https://github.com/Quick/Quick", from: "3.0.0"),
.package(url: "https://github.com/Quick/Nimble", from: "9.0.0"),
.package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", from: "1.5.0"),
.package(url: "https://github.com/BuzzFeed/MockDuck", .branch("master")),
.package(url: "https://github.com/jpsim/Yams", from: "3.0.0")
],
targets: [
.target(
name: "prism",
dependencies: [
"PrismCore",
.product(name: "ArgumentParser", package: "swift-argument-parser")
],
path: "Sources/CLI"
),
.target(
name: "PrismCore",
dependencies: ["ZeplinSwift", "FigmaSwift", "Yams"],
path: "Sources/PrismCore"),
.target(
name: "ZeplinSwift",
dependencies: ["ProviderCore"],
path: "Sources/Providers/ZeplinAPI"),
.target(
name: "FigmaSwift",
dependencies: ["ProviderCore"],
path: "Sources/Providers/FigmaAPI"),
.target(
name: "ProviderCore",
dependencies: [],
path: "Sources/Providers/ProviderCore")
// .testTarget(
// name: "PrismTests",
// dependencies: ["prism", "Quick", "Nimble", "MockDuck", "Yams", "SnapshotTesting"],
// path: "Tests")
]
)