mirror of
https://github.com/theFox6/microexpansion.git
synced 2024-11-29 10:23:56 +01:00
add logging
This commit is contained in:
parent
faf69d7bd5
commit
ddb3c3f7fe
23
.travis.yml
23
.travis.yml
@ -1,23 +0,0 @@
|
||||
language: generic
|
||||
sudo: false
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- luarocks
|
||||
before_install:
|
||||
- luarocks install --local luacheck
|
||||
env:
|
||||
- CONFIG=.luacheck_tidy
|
||||
- CONFIG=.luacheckrc
|
||||
matrix:
|
||||
allow_failures:
|
||||
- name: "beauty check"
|
||||
env: CONFIG=.luacheck_tidy
|
||||
exclude:
|
||||
- name: "health check"
|
||||
env: CONFIG=.luacheckrc
|
||||
script:
|
||||
- $HOME/.luarocks/bin/luacheck --config $CONFIG .
|
||||
notifications:
|
||||
email:
|
||||
on_failure: change
|
1
init.lua
1
init.lua
@ -65,6 +65,7 @@ end
|
||||
-- [function] Require module (does not override modules.conf)
|
||||
function microexpansion.require_module(name)
|
||||
if settings[name] then
|
||||
microexpansion.log("loading module " + name)
|
||||
return microexpansion.load_module(name)
|
||||
end
|
||||
end
|
||||
|
@ -88,3 +88,5 @@ function me.get_def(name, key)
|
||||
return def
|
||||
end
|
||||
end
|
||||
|
||||
microexpansion.log("Machine Registration API loaded")
|
||||
|
Loading…
Reference in New Issue
Block a user