forked from nicklockwood/ShapeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
48 lines (47 loc) · 1.34 KB
/
Package.swift
File metadata and controls
48 lines (47 loc) · 1.34 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
38
39
40
41
42
43
44
45
46
47
48
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "ShapeScript",
platforms: [
.macOS(.v10_15),
.iOS(.v11),
.tvOS(.v11),
],
products: [
.library(name: "ShapeScript", targets: ["ShapeScript"]),
.executable(name: "shapescript", targets: ["CLI"]),
],
dependencies: [
.package(
url: "https://github.com/nicklockwood/Euclid.git",
.upToNextMinor(from: "0.8.13")
),
.package(
url: "https://github.com/nicklockwood/LRUCache.git",
.upToNextMinor(from: "1.1.2")
),
.package(
url: "https://github.com/nicklockwood/SVGPath.git",
.upToNextMinor(from: "1.2.0")
),
],
targets: [
.target(
name: "ShapeScript",
dependencies: ["Euclid", "LRUCache", "SVGPath"],
path: "ShapeScript",
exclude: ["ShapeScript.xctestplan"]
),
.executableTarget(
name: "CLI",
dependencies: ["ShapeScript"],
path: "Viewer/CLI"
),
.testTarget(
name: "ShapeScriptTests",
dependencies: ["ShapeScript"],
path: "ShapeScriptTests",
exclude: ["TestShapes/", "Stars1.jpg", "EdgeOfTheGalaxyRegular-OVEa6.otf"]
),
]
)