From cbc0c42be9009ed9cd8a577e671bb918f12da462 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 22 Nov 2018 22:38:57 +0800 Subject: [PATCH] modify readme --- README.md | 12 +++++++++++- README_zh.md | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 97b0516..55e2fd7 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,17 @@ $ xmake ## 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 $ luajit tests\dialog.lua diff --git a/README_zh.md b/README_zh.md index 532f365..44b9bec 100644 --- a/README_zh.md +++ b/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 $ luajit tests\dialog.lua