Linux(Arch)
- Install latest go via
sudo pacman -S go
- Open Your terminal of choice
- Traverse into the
.../srcdirectory inside the chosen puzzle dir from the day that You're interested in - run
go install
Linux
- run
go build -o <preferred-output-name, f.e. gingerbread> - run
./<preferred-output-name, f.e. gingerbread>
Windows
- run
go build -o <preferred-output-name, f.e. gingerbread.exe> - run
.\<preferred-output-name, f.e. gingerbread>.exeor double click on built binary
Linux(Arch)
- Install pipenv via
sudo pacman -S python-pipenv - Install pyenv via
curl https://pyenv.run | bash - Add needed env vars, ie.
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc echo 'eval "$(pyenv init -)"' >> ~/.bashrc
- Open Your terminal of choice
- Traverse into the
<>/srcdirectory inside the chosen puzzle dir from the day that You're interested in - run
pipenv install - run
pipenv shell - to run tests, run
pytest - to fire up the solution, run
<your python on path> main.py