raphaelmeyer / advent-of-code-2023

Advent of Code 2023

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2023

Advent of Code 2023

Getting Started

Run all tests

cabal test

Run all solutions

cabal run aoc

Run solution for a specific day

cabal run aoc -- --day DAY

VS Code Setup

Open the VS Code workspace in advent-of.code-workspace. Then install the recommended plugins.

Test Output

Set default options when running cabal test

cabal configure --enable-tests --test-show-details=streaming --test-option=--color

ghcid

Does not yet reload when source files change.

Install ghcid with cabal install ghcid. Start ghcid in a terminal.

cabal exec ghcid -- --command='cabal repl advent-of-code:test' --test main

Running Tests of a single day

cabal test --test-options="-m Day07"

About

Advent of Code 2023

License:MIT License


Languages

Language:Haskell 100.0%