dioxus/packages/cli/examples/plugin/init.lua

18 lines
374 B
Lua
Raw Normal View History

2022-07-26 06:25:59 +00:00
local Api = require("./interface")
2022-07-25 05:53:45 +00:00
local log = Api.log;
2022-07-25 00:10:06 +00:00
2022-07-25 05:53:45 +00:00
local manager = {
2022-07-25 00:10:06 +00:00
name = "Dioxus-CLI Plugin Demo",
repository = "http://github.com/DioxusLabs/cli",
author = "YuKun Liu <mrxzx.info@gmail.com>",
}
2022-07-25 05:53:45 +00:00
manager.onLoad = function ()
log.info("plugin loaded.")
end
manager.onStartBuild = function ()
log.warn("system start to build")
end
return manager