Skip to content

Commit 0b77fc0

Browse files
author
Matthew Judy
committed
Reorganize targets.
1 parent e0a1bf6 commit 0b77fc0

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

Package.swift

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,19 @@ let package: Package = Package(
2323
.macOS(.v13)
2424
],
2525

26-
products: [
27-
.executable(name: "calorie-counting", targets: ["2022-01"]),
28-
.executable(name: "rock-paper-scissors", targets: ["2022-02"]),
29-
.executable(name: "rucksack-reorganization", targets: ["2022-03"]),
30-
.executable(name: "camp-cleanup", targets: ["2022-04"]),
31-
.executable(name: "supply-stacks", targets: ["2022-05"]),
32-
.executable(name: "tuning-trouble", targets: ["2022-06"]),
33-
.executable(name: "no-space-left-on-device", targets: ["2022-07"]),
34-
],
35-
3626
dependencies: [
37-
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMajor(from: "1.2.0")),
27+
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMajor(from: "1.2.0"))
3828
],
3929

4030
targets: [
4131
.target(name: "Shared"),
42-
.executableTarget(name: "2022-01", dependencies: commonDependencies, path: "Sources/2022/01", swiftSettings: commonSettings),
43-
.executableTarget(name: "2022-02", dependencies: commonDependencies, path: "Sources/2022/02", swiftSettings: commonSettings),
44-
.executableTarget(name: "2022-03", dependencies: commonDependencies, path: "Sources/2022/03", swiftSettings: commonSettings),
45-
.executableTarget(name: "2022-04", dependencies: commonDependencies, path: "Sources/2022/04", swiftSettings: commonSettings),
46-
.executableTarget(name: "2022-05", dependencies: commonDependencies, path: "Sources/2022/05", swiftSettings: commonSettings),
47-
.executableTarget(name: "2022-06", dependencies: commonDependencies, path: "Sources/2022/06", swiftSettings: commonSettings),
48-
.executableTarget(name: "2022-07", dependencies: commonDependencies, path: "Sources/2022/07", swiftSettings: commonSettings),
32+
.executableTarget(name: "calorie-counting", dependencies: commonDependencies, path: "Sources/2022/01", swiftSettings: commonSettings),
33+
.executableTarget(name: "rock-paper-scissors", dependencies: commonDependencies, path: "Sources/2022/02", swiftSettings: commonSettings),
34+
.executableTarget(name: "rucksack-reorganization", dependencies: commonDependencies, path: "Sources/2022/03", swiftSettings: commonSettings),
35+
.executableTarget(name: "camp-cleanup", dependencies: commonDependencies, path: "Sources/2022/04", swiftSettings: commonSettings),
36+
.executableTarget(name: "supply-stacks", dependencies: commonDependencies, path: "Sources/2022/05", swiftSettings: commonSettings),
37+
.executableTarget(name: "tuning-trouble", dependencies: commonDependencies, path: "Sources/2022/06", swiftSettings: commonSettings),
38+
.executableTarget(name: "no-space-left-on-device", dependencies: commonDependencies, path: "Sources/2022/07", swiftSettings: commonSettings),
39+
.executableTarget(name: "treetop-tree-house", dependencies: commonDependencies, path: "Sources/2022/08", swiftSettings: commonSettings),
4940
]
5041
)

0 commit comments

Comments
 (0)