summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-08-22 23:27:13 +0800
committerruki <[email protected]>2018-08-22 14:43:22 +0800
commitfe3530c13097f22eab8705ffaebf5c42f0e8bbd2 (patch)
tree164c7a38749914d45caaf2cfa646507f20a0dd96
parent9d1cdc11eae2765a6328dad85ed475f0bd3d38e6 (diff)
modify readme
-rw-r--r--README.md6
-rw-r--r--README_zh.md6
2 files changed, 2 insertions, 10 deletions
diff --git a/README.md b/README.md
index 2f48f6cb0..df2b5245c 100644
--- a/README.md
+++ b/README.md
@@ -92,11 +92,7 @@ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xm
## Simple description
-```lua
-target("console")
- set_kind("binary")
- add_files("src/*.c")
-```
+<img src="https://xmake.io/assets/img/index/showcode1.png" width="50%" />
## Build project
diff --git a/README_zh.md b/README_zh.md
index 78de48754..cf714f595 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -98,11 +98,7 @@ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xm
## 简单的工程描述
-```lua
-target("console")
- set_kind("binary")
- add_files("src/*.c")
-```
+<img src="https://xmake.io/assets/img/index/showcode1.png" width="50%" />
## 构建工程