forked from Dean151/AoC-Swift-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
80 lines (76 loc) · 4.3 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "AdventOfCode",
platforms: [.macOS(.v13)],
products: [
.library(name: "AoC", targets: ["AoC"]),
.library(name: "Common", targets: ["Common"]),
.executable(name: "Day01", targets: ["Day01"]),
.executable(name: "Day02", targets: ["Day02"]),
.executable(name: "Day03", targets: ["Day03"]),
.executable(name: "Day04", targets: ["Day04"]),
.executable(name: "Day05", targets: ["Day05"]),
.executable(name: "Day06", targets: ["Day06"]),
.executable(name: "Day07", targets: ["Day07"]),
.executable(name: "Day08", targets: ["Day08"]),
.executable(name: "Day09", targets: ["Day09"]),
.executable(name: "Day10", targets: ["Day10"]),
.executable(name: "Day11", targets: ["Day11"]),
.executable(name: "Day12", targets: ["Day12"]),
.executable(name: "Day13", targets: ["Day13"]),
.executable(name: "Day14", targets: ["Day14"]),
.executable(name: "Day15", targets: ["Day15"]),
.executable(name: "Day16", targets: ["Day16"]),
.executable(name: "Day17", targets: ["Day17"]),
.executable(name: "Day18", targets: ["Day18"]),
.executable(name: "Day19", targets: ["Day19"]),
.executable(name: "Day20", targets: ["Day20"]),
.executable(name: "Day21", targets: ["Day21"]),
.executable(name: "Day22", targets: ["Day22"]),
.executable(name: "Day23", targets: ["Day23"]),
.executable(name: "Day24", targets: ["Day24"]),
.executable(name: "Day25", targets: ["Day25"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-async-algorithms", from: "0.0.0"),
.package(url: "https://github.com/apple/swift-algorithms", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-collections", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "2.0.0"),
],
targets: [
.target(name: "AoC"),
.target(name: "Common", dependencies: [
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms"),
.product(name: "Algorithms", package: "swift-algorithms"),
.product(name: "Collections", package: "swift-collections"),
.product(name: "Crypto", package: "swift-crypto"),
]),
.executableTarget(name: "Day01", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day02", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day03", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day04", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day05", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day06", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day07", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day08", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day09", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day10", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day11", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day12", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day13", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day14", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day15", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day16", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day17", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day18", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day19", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day20", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day21", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day22", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day23", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day24", dependencies: ["AoC", "Common"]),
.executableTarget(name: "Day25", dependencies: ["AoC", "Common"]),
]
)