aboutsummaryrefslogtreecommitdiff
path: root/aoc2023/README.md
blob: 3f534e8bb6cb90fec41d85cd30df5083a478ba1e (plain)
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
# aoc2023

[![Package Version](https://img.shields.io/hexpm/v/aoc2023)](https://hex.pm/packages/aoc2023)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/aoc2023/)

## Quick start

```sh
gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell
```

## Installation

If available on Hex this package can be added to your Gleam project:

```sh
gleam add aoc2023
```

and its documentation can be found at <https://hexdocs.pm/aoc2023>.

## Use

* Set up a solution: `gleam run -m adglent/day <n>`
* Check against examples: `gleam test -- --modules=day<n>/day<n>_test`
* Get final answer: `gleam run -m day<n>/solve <p>`