Mercurial Hosting > freedit
diff src/init.luan @ 1:7c64173643c8
start config
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 15 Jun 2022 20:59:13 -0600 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/init.luan Wed Jun 15 20:59:13 2022 -0600 @@ -0,0 +1,11 @@ +local Luan = require "luan:Luan.luan" +local error = Luan.error +local load = Luan.load or error() +local Config = require "site:/lib/Config.luan" +local Logging = require "luan:logging/Logging.luan" +local logger = Logging.logger "init" + +local fn = load(Config.text,"config") +fn() + +return true