run all tests on startup
This commit is contained in:
parent
cda85faf3b
commit
90dc7ce6dc
1
app.lua
1
app.lua
|
@ -14,6 +14,7 @@ local Keys_down = {}
|
|||
function love.run()
|
||||
App.version_check()
|
||||
App.snapshot_love()
|
||||
live.load()
|
||||
-- have LÖVE delegate all handlers to App if they exist
|
||||
for name in pairs(love.handlers) do
|
||||
if App[name] then
|
||||
|
|
2
live.lua
2
live.lua
|
@ -32,7 +32,7 @@ on = {}
|
|||
|
||||
-- === on startup, load all files with numeric prefix
|
||||
|
||||
function live.initialize(arg)
|
||||
function live.load()
|
||||
live.freeze_all_existing_definitions()
|
||||
|
||||
-- version control
|
||||
|
|
Loading…
Reference in New Issue