summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-21 00:55:29 +0800
committerruki <[email protected]>2022-05-21 00:55:29 +0800
commit7c7c96984572ddec1319bc3963429897ace001b2 (patch)
tree2985a451d5bfda54a4b567f85aad9ae12dfe6a6b
parentadb495c2069ad4663360ab7230f8dd6a8895de14 (diff)
update readme
-rw-r--r--README.md6
-rw-r--r--README_zh.md7
-rwxr-xr-xscripts/get.sh2
3 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7c33b86b1..5fecc437f 100644
--- a/README.md
+++ b/README.md
@@ -80,6 +80,12 @@ We can use it to build projects directly like Make/Ninja or generate project fil
Xmake = Build backend + Project Generator + Package Manager + [Remote|Distributed] Build + Cache
```
+Although not very precise, we can understand Xmake in the following way:
+
+```
+Xmake ~= Make/Ninja + CMake/Meson + Vcpkg/Conan + distcc + ccache
+```
+
If you want to know more, please refer to: [Documents](https://xmake.io/#/getting_started), [Github](https://github.com/xmake-io/xmake) and [Gitee](https://gitee.com/tboox/xmake). You are also welcome to join our [community](https://xmake.io/#/about/contact).
![](https://xmake.io/assets/img/index/xmake-basic-render.gif)
diff --git a/README_zh.md b/README_zh.md
index e0e9cbd60..5b0d66384 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -81,6 +81,13 @@ Xmake 是一个基于 Lua 的轻量级跨平台构建工具。
Xmake = Build backend + Project Generator + Package Manager + [Remote|Distributed] Build + Cache
```
+尽管不是很准确,但我们也可以把 Xmake 按下面的方式来理解:
+
+```
+Xmake ~= Make/Ninja + CMake/Meson + Vcpkg/Conan + distcc + ccache
+```
+
+
如果你想要了解更多,请参考:[在线文档](https://xmake.io/#/zh-cn/getting_started), [Github](https://github.com/xmake-io/xmake)以及[Gitee](https://gitee.com/tboox/xmake),同时也欢迎加入我们的 [社区](https://xmake.io/#/zh-ch/about/contact).
![](https://xmake.io/assets/img/index/xmake-basic-render.gif)
diff --git a/scripts/get.sh b/scripts/get.sh
index e2924a322..3844d6185 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -188,7 +188,7 @@ else
cd $projectdir || my_exit 'Chdir Error'
git checkout -qf "$2"
cd - || my_exit 'Chdir Error'
- else
+ else
git clone --depth=1 -b "$branch" "$gitrepo" --recurse-submodules $projectdir || my_exit "$(echo -e 'Clone Fail\nCheck your network or branch name')"
fi
fi