Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rolandtritsch/scala3-aoc-2017


https://github.com/rolandtritsch/scala3-aoc-2017

advent-of-code scala scala3

Last synced: about 23 hours ago
JSON representation

Awesome Lists containing this project

README

        

![build-badge][]

# [Advent of Code][aoc] - 2017 (Scala3 Edition)

Note: There are implementations of this in [Scala][] (JVM and native),
[Kotlin][], [Haskell][] and [Eta][]. If you like any of these ... star
it :).

To make this work you need to ...

* install git (`brew install git`)
* install sbt (`brew install sbt`)
* clone the repo (`git clone ...`)
* run the tests (`sbt test`)
* this will run all tests (ScalaTest, ScalaCheck)
* you can run specific tests with `sbt "testOnly
aoc.Day01Spec"`
* you can run `sbt "testOnly aoc.Day*Spec -- -l
aoc.SlowTest"` to only run the *fast* tests (exclude the slow
tests)
* you can run `sbt "testOnly aoc.Day*Spec -- -n
aoc.SolutionTest"` to only run the tests that will test for the
correct solutions
* run the JVM main (`sbt run`)

Have fun!!!

[Eta]: https://github.com/rolandtritsch/eta-aoc-2017
[Haskell]: https://github.com/rolandtritsch/haskell-aoc-2017
[Kotlin]: https://github.com/rolandtritsch/kotlin-aoc-2017
[Scala]: https://github.com/rolandtritsch/scala-aoc-2017
[aoc]: https://adventofcode.com
[build-badge]: https://github.com/rolandtritsch/scala3-aoc-2027/actions/workflows/ci.yml/badge.svg