Ozsie / adventofcode

Advent of Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oscars Advent of Code

Using Kotlin Script!

2020

******************

Running Kotlin Scripts

I recommend using sdkman to install Kotlin and kscript:

curl -s "https://get.sdkman.io" | bash     # install sdkman
source "$HOME/.sdkman/bin/sdkman-init.sh"  # add sdkman to PATH

sdk install kotlin                         # install Kotlin

Once Kotlin is ready, you can install kscript with

sdk install kscript

Running My Solutions

When Kotlin and kscript are installed:` To run all scripts

./run.sh all

To run todays script

./run.sh

To run a specific script

./run.sh YYYY DD T

Where YYYY is the year, DD, is the day and T is task, for example

./run.sh 2020 1 1

About

Advent of Code

License:MIT License


Languages

Language:Kotlin 97.4%Language:Python 1.7%Language:Shell 1.0%