Download:
child 181:379525df9cdb
parent 179:572fc0f25c6b
180:d13fecc86d03
Anton Shestakov <av6@dwimlabs.net>, Sun, 24 Jul 2016 09:33:01 +0800
luacheck: set LUA_PATH and LUA_CPATH

1 файлов изменено, 4 вставок(+), 0 удалений(-) [+]
linters/luacheck.yml file | annotate | diff | comparison | revisions
--- a/linters/luacheck.yml Sun Jul 24 09:24:14 2016 +0800
+++ b/linters/luacheck.yml Sun Jul 24 09:33:01 2016 +0800
@@ -1,6 +1,10 @@
setup:
- ['luarocks', '--tree=../rocks', 'install', 'luacheck']
+env:
+ LUA_PATH: '../rocks/share/lua/5.1/?.lua;../rocks/share/lua/5.1/?/init.lua'
+ LUA_CPATH: '../rocks/lib/lua/5.1/?.so'
+
exec: ['../rocks/bin/luacheck']
flags: ['--formatter', 'plain', '--codes']
version: ['--version']