-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
32 lines (29 loc) · 981 Bytes
/
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
// 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: "Appetizer",
products: [
.executable(name: "appetizer", targets: ["AppetizerCL"]),
],
dependencies: [
// used for command line argument parsing
.package(url: "https://github.com/apple/swift-package-manager.git", .exact("0.4.0")),
// used to make NSColor from a hex string
.package(url: "https://github.com/WilhelmOks/HexColor.git", from: "1.0.1")
],
targets: [
.target(
name: "AppetizerCore",
dependencies: []),
.target(
name: "AppetizerCL",
dependencies: ["AppetizerCore", "SPMUtility", "HexNSColor"]),
.testTarget(
name: "AppetizerTests",
dependencies: ["AppetizerCore"]),
],
swiftLanguageVersions: [
.v5
]
)