diff options
| author | ruki <[email protected]> | 2022-05-21 00:55:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-21 00:55:29 +0800 |
| commit | 7c7c96984572ddec1319bc3963429897ace001b2 (patch) | |
| tree | 2985a451d5bfda54a4b567f85aad9ae12dfe6a6b | |
| parent | adb495c2069ad4663360ab7230f8dd6a8895de14 (diff) | |
update readme
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | README_zh.md | 7 | ||||
| -rwxr-xr-x | scripts/get.sh | 2 |
3 files changed, 14 insertions, 1 deletions
@@ -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).  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).  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 |
