diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c72498..22f1dbe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,3 +7,8 @@ repos: - id: mixed-line-ending args: [--fix=lf] + + - repo: https://github.com/Calinou/pre-commit-luacheck + rev: v1.0.0 + hooks: + - id: luacheck diff --git a/.travis.yml b/.travis.yml index 1c4c0d8..a032acb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,5 +11,6 @@ install: - luarocks install --local luacheck script: + # All linters are run with pre-commit hooks + - export PATH="$HOME/.luarocks/bin:$PATH" - $HOME/.local/bin/pre-commit run --all-files - - $HOME/.luarocks/bin/luacheck . diff --git a/CHANGELOG.md b/CHANGELOG.md index eec6244..e386b83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added + +- Polish translation. + ## [1.1.0] - 2019-03-23 ### Added diff --git a/init.lua b/init.lua index e389778..d3b1cc0 100644 --- a/init.lua +++ b/init.lua @@ -382,7 +382,3 @@ for orename, def in pairs(oredefs) do -- Register everything add_ore("moreores", def.description, orename, def) end - -if minetest.settings:get_bool("log_mods") then - minetest.log("action", S("[moreores] loaded.")) -end