2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

ci(fix): run luacheck on plugins dir

This commit is contained in:
Qingping Hou 2016-12-27 02:10:34 -08:00
parent 581039aed5
commit 86e924aa45
2 changed files with 2 additions and 1 deletions

View File

@ -6,4 +6,4 @@ source "${CI_DIR}/common.sh"
travis_retry make fetchthirdparty travis_retry make fetchthirdparty
make all make all
make testfront make testfront
luajit $(which luacheck) --no-color -q frontend luajit $(which luacheck) --no-color -q {reader,setupkoenv,datastorage}.lua frontend plugins

View File

@ -18,6 +18,7 @@ local menuItem = {
text = _("Keep Alive"), text = _("Keep Alive"),
} }
local disable
if Device:isKobo() then if Device:isKobo() then
disable = function() UIManager:_startAutoSuspend() end disable = function() UIManager:_startAutoSuspend() end
menuItem.callback = function() menuItem.callback = function()