Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 390 Bytes

import.md

File metadata and controls

16 lines (12 loc) · 390 Bytes

import: import Lua scripts into tables

local import = require "import"

The import module can be used to manage simple configuration files, configuration parameters being global variables defined in the configuration file.

local conf = import "myconf.lua"

Evaluates "myconf.lua" in a new table and returns this table. All files are tracked in import.files.