File tree Expand file tree Collapse file tree 6 files changed +18
-1115
lines changed Expand file tree Collapse file tree 6 files changed +18
-1115
lines changed Original file line number Diff line number Diff line change @@ -177,11 +177,12 @@ jobs:
177177 - name : Install dependencies
178178 run : |
179179 cd 2025
180- luarocks init aoc2025-0-1.rockspec
181- ./luarocks install --only-deps aoc2025-0-1.rockspec
180+ luarocks init --lua-versions 5.1
181+ luarocks install luacheck
182+ luarocks install busted
183+ luarocks install inspect
184+ luarocks install --dev fun
182185 - name : Run AoC 2025
183- env :
184- LUA_INIT : " @src/setup.lua"
185186 run : |
186187 cd 2025
187188 ./lua_modules/bin/luacheck src
Original file line number Diff line number Diff line change @@ -8,10 +8,18 @@ From <https://adventofcode.com/2025>. Better late than never ;)
88
99Lua 5.4 should also "just work". Only Linux has been tested. Other platforms might just work though.
1010
11- ## Compile & run
11+ ## Setup
1212
1313``` bash
14- luarocks init aoc2025-0-1.rockspec
15- ./luarocks install --only-deps aoc2025-0-1.rockspec
16- LUA_INIT=@src/setup.lua ./lua_modules/bin/busted
14+ luarocks init --lua-versions 5.1
15+ luarocks install luacheck
16+ luarocks install busted
17+ luarocks install inspect
18+ luarocks install --dev fun
19+ ```
20+
21+ ## run tests
22+
23+ ``` bash
24+ ./lua_modules/bin/busted
1725```
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments