-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPackage.swift
More file actions
37 lines (33 loc) · 1.62 KB
/
Copy pathPackage.swift
File metadata and controls
37 lines (33 loc) · 1.62 KB
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
// swift-tools-version:4.2
import PackageDescription
let package = Package(
name: "Graphics",
products: [
.library(name: "Geometry", targets: ["Geometry"]),
.library(name: "Path", targets: ["Path"]),
.library(name: "Rendering", targets: ["Rendering"]),
.library(name: "SVG", targets: ["SVG"]),
.library(name: "QuartzAdapter", targets: ["QuartzAdapter"]),
.library(name: "GraphicsTesting", targets: ["GraphicsTesting"])
],
dependencies: [
.package(url: "https://github.com/drmohundro/SWXMLHash", from: "4.1.1"),
.package(url: "https://github.com/dn-m/Math", from: "0.7.0"),
.package(url: "https://github.com/dn-m/Structure", from: "0.23.0")
],
targets: [
// Sources
.target(name: "Geometry", dependencies: ["Math", "DataStructures"]),
.target(name: "Path", dependencies: ["Geometry", "Math"]),
.target(name: "Rendering", dependencies: ["Path"]),
.target(name: "SVG", dependencies: ["Rendering", "SWXMLHash"]),
.target(name: "QuartzAdapter", dependencies: ["Rendering"]),
.target(name: "GraphicsTesting", dependencies: ["QuartzAdapter"]),
// Tests
.testTarget(name: "GeometryTests", dependencies: ["Geometry"]),
.testTarget(name: "PathTests", dependencies: ["Path", "Rendering", "GraphicsTesting"]),
.testTarget(name: "RenderingTests", dependencies: ["Rendering", "GraphicsTesting"]),
.testTarget(name: "SVGTests", dependencies: ["SVG", "GraphicsTesting"]),
.testTarget(name: "QuartzAdapterTests", dependencies: ["QuartzAdapter", "GraphicsTesting"])
]
)