Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lcpichette/aoc-lua-template


https://github.com/lcpichette/aoc-lua-template

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

# Advent of Code - 2024

## Dependencies

Lua. Installable at: https://www.lua.org/download.html

Luarocks. Installable at: https://github.com/luarocks/luarocks/wiki/Download

1. luafilesystem
2. lunatest

All luarocks dependencies are installable via `lua install_dependencies.lua`

## Running

Run all days with `lua app.lua` or run specific days with `lua app.lua 1`, in true lua-spirit days are indexed starting at 1

Run all tests with `lua app.lua tests` or run a specific day's tests with `lua app.lua tests 1`

## Utilities

Create a new day via `lua create_day.lua ` e.g. `lua create_day.lua 1` which will create the file structure format app.lua expects