Skip to content

Commit

Permalink
chore(core): Reorder some core initialization with an eye to refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Feb 3, 2024
1 parent 8fafd57 commit 580e22f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions core/sile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ local lfs = require("lfs")
-- Developer tooling profiler
local ProFi

-- For warnings and shims scheduled for removal that are easier to keep track
-- of when they are not spread across so many locations...
-- Loaded early to make it easier to manage migrations in core code.
require("core/deprecations")

SILE.utilities = require("core.utilities")
SU = SILE.utilities -- regrettable global alias

Expand Down Expand Up @@ -511,8 +516,4 @@ SILE.linebreak = require("core.break")
require("core.frame")
SILE.font = require("core.font")

-- For warnings and shims scheduled for removal that are easier to keep track
-- of when they are not spread across so many locations...
require("core/deprecations")

return SILE

0 comments on commit 580e22f

Please sign in to comment.