modify readme
This commit is contained in:
12
README.md
12
README.md
@@ -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
|
||||||
|
12
README_zh.md
12
README_zh.md
@@ -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
|
||||||
|
Reference in New Issue
Block a user