Add test day command for easier testing while developing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-12-03 14:34:35 +01:00
parent 68f6ee867a
commit 929b87e513
2 changed files with 58 additions and 0 deletions

2
aoc
View File

@ -6,6 +6,7 @@ use NunoMaduro\Collision\Provider as CollisionProvider;
use Symfony\Component\Console\Application;
use trizz\AdventOfCode\Commands\ExecuteDay;
use trizz\AdventOfCode\Commands\Puzzle;
use trizz\AdventOfCode\Commands\TestDay;
(new CollisionProvider())->register();
@ -13,6 +14,7 @@ $application = new Application('Advent of Code by trizz');
$application->add(new Puzzle());
$application->add(new ExecuteDay());
$application->add(new TestDay());
try {
$application->run();