diff options
| author | ruki <waruqi@gmail.com> | 2018-11-11 21:21:39 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2018-11-11 21:21:39 +0800 |
| commit | 2d30442e1015dc498d50f8e10699c20d5e5d508e (patch) | |
| tree | 639ed1473ebcd929a05224be15f2bcc8391d5285 | |
| parent | 6390f95a32c786ec9bf8c81f2c4a53bae68f8de0 (diff) | |
| download | xmake-docs-2d30442e1015dc498d50f8e10699c20d5e5d508e.tar.gz xmake-docs-2d30442e1015dc498d50f8e10699c20d5e5d508e.zip | |
add xmake update
| -rw-r--r-- | README.md | 17 | ||||
| -rw-r--r-- | zh/README.md | 33 |
2 files changed, 35 insertions, 15 deletions
@@ -175,6 +175,23 @@ Uninstall: $ sudo make uninstall ``` +#### Update + +We can run `xmake update` to update xmake version after v2.2.3 and we can also update to the given version: + +```bash +$ xmake update 2.2.4 +``` + +We can also specify an update to the master/dev branch version: + +```bash +$ xmake update master +$ xmake update dev +``` + +Finally, if we want to uninstall xmake, it is also supported: `xmake update --uninstall`. + ## Quick Start [](https://asciinema.org/a/133693) diff --git a/zh/README.md b/zh/README.md index 8fd00c3b..135a1e49 100644 --- a/zh/README.md +++ b/zh/README.md @@ -1,18 +1,4 @@ ---- -nav: zh -search: zh ---- - -<p> -<div align="center"> - <a href="http://xmake.io/cn"> - <img width="200" heigth="200" src="http://tboox.org/static/img/xmake/logo256c.png"> - </a> - - <h1>xmake</h1> - - <div> - <a href="https://travis-ci.org/tboox/xmake"> +xmake"> <img src="https://img.shields.io/travis/tboox/xmake/master.svg?style=flat-square" alt="travis-ci" /> </a> <a href="https://ci.appveyor.com/project/waruqi/xmake/branch/master"> @@ -203,6 +189,23 @@ $ sudo make install prefix=/usr/local $ sudo make uninstall ``` +#### 更新升级 + +从v2.2.3版本开始,新增了`xmake update`命令,来快速进行自我更新和升级,默认是升级到最新版本,当然也可以指定升级或者回退到某个版本: + +```bash +$ xmake update 2.2.4 +``` + +我们也可以指定更新到master/dev分支版本: + +```bash +$ xmake update master +$ xmake update dev +``` + +最后,我们如果要卸载xmake,也是支持的:`xmake update --uninstall` + ## 快速开始 [](https://asciinema.org/a/133693) |
