Change Dockerfile to install lua, luajit and love and also to install nodejs 12 needed to build the lua debug adapter. Create the love-headless test in support/test/lua to test love without an x server.
10 lines
158 B
Lua
10 lines
158 B
Lua
if pcall(require, 'lldebugger') then
|
|
require('lldebugger').start()
|
|
end
|
|
|
|
local time = 0
|
|
|
|
function love.update(dt)
|
|
time = time + dt
|
|
love.event.quit()
|
|
end
|