add check command to kodev

pull/4721/head
Qingping Hou 5 years ago committed by Frans de Jonge
parent 855c8c2569
commit e29c2275ef

@ -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 "$@"

Loading…
Cancel
Save