modify readme

This commit is contained in:
ruki
2018-11-22 22:38:57 +08:00
parent 13f5f2d7ca
commit cbc0c42be9
2 changed files with 22 additions and 2 deletions

View File

@@ -48,7 +48,17 @@ $ xmake
## Run tests ## Run tests
We need install [luajit](http://luajit.org/) to run tests first. We need install [lua](https://www.lua.org/) or [luajit](http://luajit.org/) to run tests first.
```console
$ lua tests\dialog.lua
$ lua tests\window.lua
$ lua tests\desktop.lua
$ lua tests\inputdialog.lua
$ lua tests\mconfdialog.lua
```
Or
```console ```console
$ luajit tests\dialog.lua $ luajit tests\dialog.lua

View File

@@ -47,7 +47,17 @@ $ xmake
## 运行测试 ## 运行测试
你需要先安装[luajit](http://luajit.org/)程序去加载运行测试程序: 你需要先安装[lua](https://www.lua.org/)或者[luajit](http://luajit.org/)程序去加载运行测试程序:
```console
$ lua tests\dialog.lua
$ lua tests\window.lua
$ lua tests\desktop.lua
$ lua tests\inputdialog.lua
$ lua tests\mconfdialog.lua
```
或者
```console ```console
$ luajit tests\dialog.lua $ luajit tests\dialog.lua