summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-10 22:52:55 +0800
committerruki <[email protected]>2023-10-10 22:52:55 +0800
commitc6cf794999692c3b826ceca808bfc68d9251fba9 (patch)
treef781d51db668e5cf878444a55e63bf7ad5ed7c2c
parent1c605e32dd64f37bc0f0d2ef6509facda4bbea9f (diff)
update readme
-rw-r--r--README.md6
-rw-r--r--README_zh.md20
2 files changed, 20 insertions, 6 deletions
diff --git a/README.md b/README.md
index b6f09f026..ee85b3bdc 100644
--- a/README.md
+++ b/README.md
@@ -155,6 +155,12 @@ $ xmake run console
$ xmake run -d console
```
+### Run test
+
+```bash
+$ xmake test
+```
+
### Configure platform
```bash
diff --git a/README_zh.md b/README_zh.md
index 147415eb8..2ad7c7171 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -134,39 +134,47 @@ add_requires("tbox 1.6.*", "zlib", "libpng ~1.6")
<img src="https://github.com/xmake-io/xmake-docs/raw/master/assets/img/index/package.gif" width="650px" />
-## 创建工程
+## 命令行使用
+
+### 创建工程
```bash
$ xmake create hello
$ cd hello
```
-## 构建工程
+### 构建工程
```bash
$ xmake
```
-## 运行目标
+### 运行目标
```bash
$ xmake run console
```
-## 调试程序
+### 调试程序
```bash
$ xmake run -d console
```
-## 配置平台
+### 运行测试
+
+```bash
+$ xmake test
+```
+
+### 配置平台
```bash
$ xmake f -p [windows|linux|macosx|android|iphoneos ..] -a [x86|arm64 ..] -m [debug|release]
$ xmake
```
-## 图形化菜单配置
+### 图形化菜单配置
```bash
$ xmake f --menu