Skip to content

Commit

Permalink
up to Day03
Browse files Browse the repository at this point in the history
  • Loading branch information
JimWallace committed Dec 4, 2023
1 parent f9b2a4f commit 54f40ca
Show file tree
Hide file tree
Showing 15 changed files with 1,877 additions and 2 deletions.
112 changes: 112 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/AdventOfCode.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
version = "2.2">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<AutocreatedTestPlanReference>
</AutocreatedTestPlanReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AdventOfCode"
BuildableName = "AdventOfCode"
BlueprintName = "AdventOfCode"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AdventOfCodeTests"
BuildableName = "AdventOfCodeTests"
BlueprintName = "AdventOfCodeTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AdventOfCodeTests"
BuildableName = "AdventOfCodeTests"
BlueprintName = "AdventOfCodeTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AdventOfCode"
BuildableName = "AdventOfCode"
BlueprintName = "AdventOfCode"
ReferencedContainer = "container:">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = "Time Profiler"
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AdventOfCode"
BuildableName = "AdventOfCode"
BlueprintName = "AdventOfCode"
ReferencedContainer = "container:">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ let package = Package(
.upToNextMajor(from: "1.2.0")),
.package(
url: "https://github.com/apple/swift-format.git",
.upToNextMajor(from: "509.0.0"))
.upToNextMajor(from: "509.0.0")),
.package(url: "https://github.com/pointfreeco/swift-parsing",
.upToNextMajor(from: "0.13.0")),
],
targets: [
.executableTarget(
Expand Down
2 changes: 1 addition & 1 deletion Sources/AdventOfCode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import ArgumentParser

// Add each new day implementation to this array:
let allChallenges: [any AdventDay] = [
Day00()
Day00(), Day01(), Day02(), Day03()
]

@main
Expand Down
Loading

0 comments on commit 54f40ca

Please sign in to comment.