-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
33 lines (27 loc) · 1.2 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
// swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SwiftNES",
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/thara/SDL.git", .branch("swiftnes-6")),
.package(url: "https://github.com/twostraws/SwiftGD.git", from: "2.0.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "2.2.0"),
.package(url: "https://github.com/Quick/Nimble.git", from: "8.0.0"),
.package(url: "https://github.com/kylef/Commander.git", from: "0.9.0"),
.package(url: "https://github.com/apple/swift-format.git", .branch("swift-5.4-branch")),
],
targets: [
.target(name: "SwiftNES"),
.target(
name: "SwiftNESMain",
dependencies: ["SwiftNES", "SDL", "Logging", "Commander"]),
.target(
name: "DumpSpriteImage",
dependencies: ["SwiftNES", "SwiftGD", "Logging", "Commander"]),
.testTarget(
name: "SwiftNESTests",
dependencies: ["SwiftNES", "Quick", "Nimble"]),
]
)