An open API service indexing awesome lists of open source software.

https://github.com/hainesr/aoc-2020

My attempts at Advent of Code 2020.
https://github.com/hainesr/aoc-2020

advent-of-code advent-of-code-2020 ruby

Last synced: 2 months ago
JSON representation

My attempts at Advent of Code 2020.

Awesome Lists containing this project

README

          

# Advent of Code 2020
## Robert Haines

My attempt at doing [Advent of Code 2020](http://adventofcode.com/2020) in Ruby, with tests and all the trimmings.

![Tests](https://github.com/hainesr/aoc-2020/workflows/Tests/badge.svg)
![Linter](https://github.com/hainesr/aoc-2020/workflows/Linter/badge.svg)
[![Maintainability](https://api.codeclimate.com/v1/badges/5acab628086b4c781601/maintainability)](https://codeclimate.com/github/hainesr/aoc-2020/maintainability)

### Usage

After cloning, and changing into the `aoc-2020` directory, run:

```shell
$ gem install bundler
$ bundle install
$ rake
```

This will set everything up and run all the tests.

To run the solution for a particular day:

```shell
$ ./aoc-2020
```

Or via `rake`:

```shell
$ rake run
```

You can run multiple days like this:

```shell
$ rake run ...
```

### Licence

[Public Domain](http://unlicense.org).