Skip to content

Latest commit

 

History

History
113 lines (93 loc) · 2.78 KB

README.md

File metadata and controls

113 lines (93 loc) · 2.78 KB

Building the CLI tool

  • Make sure that you have golang installed by running
go version
  • From the root folder:
go install .\cli\
  • This will install the adventofcode cli to $GOPATH/bin.
  • Now you can run the cli and use it to generate and solve the challenges of the adventofcode.

Solve a challenge

aoc solve -l <language> -d <date:yyyy/dd>

Bash

Currently not working. Windows does not support bash (by default) To-Do: Describe how to build and run this To-Do: Describe how to run it directly

C

Currently not working. THe make files / build does not work. To-Do: When it builds again, write a description on how to build it. To-Do: Describe how to run it directly

clojure

Currently not working. To-Do: Describe how to build and run this To-Do: Describe how to run it directly

csharp

aoc solve -l csharp -d 2015/01

To-Do: Describe how to build and run this To-Do: The current runner has a lot of logging. Fix this To-Do: Describe how to run it directly

elixir

Currently not working. To-Do: Describe how to build and run this To-Do: Describe how to run it directly

fsharp

Currently not working. To-Do: Describe how to build and run this To-Do: Describe how to run it directly

go

To-Do: Describe how to build and run this To-Do: Describe how to run it directly

aoc solve -l go -d 2015/01

haskell

To-Do: Describe how to build and run this To-Do: Describe how to run it directly

aoc solve -l haskell -d 2015/01

java

To-Do: Describe how to build and run this To-Do: Describe how to run it directly

aoc solve -l java -d 2015/01

kotlin

Install the kotlin compiler described here

aoc solve -l kotlin -d 2015/01

To-Do: Describe how to run it directly To-Do: It used to be possible to install the compiler from the command line. It there an alternative?

lua

Currently not working. To-Do: Describe how to build and run this To-Do: Describe how to run it directly

php

Currently not working. To-Do: Describe how to build and run this To-Do: Describe how to run it directly

python

To-Do: Describe how to build and run this To-Do: Describe how to run it directly

aoc solve -l python -d 2015/01

r

Currently not working. To-Do: Describe how to build and run this To-Do: Describe how to run it directly

rust

Currently not working. To-Do: Describe how to build and run this To-Do: Describe how to run it directly

v

Currently not working. To-Do: Describe how to build and run this To-Do: Describe how to run it directly