add check command to kodev

This commit is contained in:
Qingping Hou
2019-02-10 16:59:55 -08:00
committed by Frans de Jonge
parent 855c8c2569
commit e29c2275ef

4
kodev
View File

@@ -864,6 +864,7 @@ Supported commands:
release Build KOReader release package
run Run KOReader
test Run tests
check Run static-analysis
wbuilder Run wbuilder.lua script (useful for building new UI widget)
"
[ $# -lt 1 ] && {
@@ -905,6 +906,9 @@ case "${1}" in
shift 1
kodev-test "$@"
;;
check)
luacheck -q {reader,setupkoenv,datastorage}.lua frontend plugins spec
;;
cov)
shift 1
kodev-cov "$@"