-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPackage.swift
34 lines (33 loc) · 1.18 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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "Sudoku",
products: [
.executable(name: "sudoku", targets: ["Sudoku"]),
.library(name: "SudokuKit", targets: ["SudokuKit"]),
.library(name: "Matrix", targets: ["Matrix"]),
],
dependencies: [
.package(url: "https://github.com/eneko/CommandRegistry", from: "0.0.0"),
.package(url: "https://github.com/onevcat/Rainbow", from: "3.0.0"),
.package(url: "https://github.com/scottrhoyt/SwiftyTextTable.git", from: "0.5.0"),
.package(url: "https://github.com/apple/swift-package-manager.git", from: "0.1.0"),
],
targets: [
.target(
name: "Sudoku",
dependencies: ["CommandRegistry", "Rainbow", "SudokuKit", "SwiftPM"]),
.target(
name: "SudokuKit",
dependencies: ["SwiftyTextTable", "Rainbow", "Matrix"]),
.target(
name: "Matrix",
dependencies: []),
.testTarget(
name: "SudokuKitTests",
dependencies: ["SudokuKit"]),
.testTarget(
name: "MatrixTests",
dependencies: ["Matrix", "SudokuKit"]),
]
)