annotate src/init.luan @ 35:1ce75c5ab0f7

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 03 Aug 2022 14:13:12 -0600
parents 7c64173643c8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 local Luan = require "luan:Luan.luan"
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 local error = Luan.error
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 local load = Luan.load or error()
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 local Config = require "site:/lib/Config.luan"
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 local Logging = require "luan:logging/Logging.luan"
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 local logger = Logging.logger "init"
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 local fn = load(Config.text,"config")
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 fn()
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10
7c64173643c8 start config
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 return true