|
|
@ -160,12 +160,22 @@ To run KOReader on your development machine:
|
|
|
|
./kodev run
|
|
|
|
./kodev run
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To automatically set up a number of primarily luarocks-related environment variables:
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
./kodev activate
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
To run unit tests:
|
|
|
|
To run unit tests:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
./kodev test base
|
|
|
|
./kodev test base
|
|
|
|
./kodev test front
|
|
|
|
./kodev test front
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To run a specific unit test (for test development):
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
./kodev test front readerbookmark_spec.lua
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
NOTE: Extra dependencies for tests: `busted` and `ansicolors` from luarocks.
|
|
|
|
NOTE: Extra dependencies for tests: `busted` and `ansicolors` from luarocks.
|
|
|
|
|
|
|
|
|
|
|
|
To run Lua static analysis:
|
|
|
|
To run Lua static analysis:
|
|
|
|