Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lcpichette/aoc-lua-template
https://github.com/lcpichette/aoc-lua-template
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lcpichette/aoc-lua-template
- Owner: lcpichette
- License: other
- Created: 2024-12-01T08:03:33.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-01T08:34:42.000Z (about 1 month ago)
- Last Synced: 2024-12-01T09:20:15.721Z (about 1 month ago)
- Language: Lua
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-advent-of-code - lcpichette/aoc-lua-template
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. lunatestAll 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