run all tests on startup

This commit is contained in:
Kartik K. Agaram 2023-11-16 22:10:03 -08:00
parent cda85faf3b
commit 90dc7ce6dc
3 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -52,8 +52,6 @@ function App.initialize(arg)
love.graphics.setBackgroundColor(1,1,1)
live.initialize(arg)
if love.filesystem.getInfo('config') then
load_settings()
else