Skip to content

Commit

Permalink
feat(packages): Add package loaded that can later be used to track pa…
Browse files Browse the repository at this point in the history
…ckage dependencies
  • Loading branch information
alerque committed Dec 1, 2022
1 parent d8cd737 commit d48633a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ function package.declareSettings (_) end

function package.registerRawHandlers (_) end

function package:loadPackage (packname)
return self.class:loadPackage(packname)
end

function package.registerCommands (_) end

-- This gives us a hook to match commands with the packages that registered
Expand Down

0 comments on commit d48633a

Please sign in to comment.