|
|
|
@ -213,10 +213,10 @@ usage: run <OPTIONS> <ARGS>
|
|
|
|
|
|
|
|
|
|
OPTIONS:
|
|
|
|
|
|
|
|
|
|
-h, --screen-height set height of the emulator screen (default: 720)
|
|
|
|
|
-w, --screen-width set width of the emulator screen (default: 540)
|
|
|
|
|
--no-build run reader without rebuilding
|
|
|
|
|
--disable-touch use this if you want to simulate keyboard only devices
|
|
|
|
|
-h=X, --screen-height=X set height of the emulator screen (default: 720)
|
|
|
|
|
-w=X, --screen-width=X set width of the emulator screen (default: 540)
|
|
|
|
|
--no-build run reader without rebuilding
|
|
|
|
|
--disable-touch use this if you want to simulate keyboard only devices
|
|
|
|
|
"
|
|
|
|
|
screen_width=540
|
|
|
|
|
screen_height=720
|
|
|
|
@ -321,6 +321,7 @@ OPTIONS:
|
|
|
|
|
test_path="${test_path}/$2"
|
|
|
|
|
fi
|
|
|
|
|
busted --lua=./luajit ${opts} \
|
|
|
|
|
--lazy \
|
|
|
|
|
-o ./spec/$1/unit/verbose_print \
|
|
|
|
|
--exclude-tags=notest ${test_path}
|
|
|
|
|
|
|
|
|
@ -364,14 +365,15 @@ usage: $0 COMMAND <ARGS>
|
|
|
|
|
|
|
|
|
|
Supported commands:
|
|
|
|
|
|
|
|
|
|
fetch-thirdparty Fetch thirdparty dependencies for build
|
|
|
|
|
activate Bootstrap shell environment for kodev
|
|
|
|
|
build Build KOReader
|
|
|
|
|
clean Clean KOReader build
|
|
|
|
|
fetch-thirdparty Fetch thirdparty dependencies for build
|
|
|
|
|
log Tail log stream for a running KOReader app
|
|
|
|
|
release Build KOReader release package
|
|
|
|
|
run Run KOReader
|
|
|
|
|
wbuilder Run wbuilder.lua script (useful for building new UI widget)
|
|
|
|
|
test Run tests
|
|
|
|
|
log Tail log stream for a running KOReader app
|
|
|
|
|
wbuilder Run wbuilder.lua script (useful for building new UI widget)
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
if [ $# -lt 1 ]; then
|
|
|
|
@ -381,6 +383,10 @@ if [ $# -lt 1 ]; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
case $1 in
|
|
|
|
|
activate)
|
|
|
|
|
export PATH="${PATH}:${CURDIR}"
|
|
|
|
|
eval $(luarocks path bin)
|
|
|
|
|
;;
|
|
|
|
|
fetch-thirdparty)
|
|
|
|
|
kodev-fetch-thirdparty
|
|
|
|
|
;;
|
|
|
|
|