From 2d30442e1015dc498d50f8e10699c20d5e5d508e Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 11 Nov 2018 21:21:39 +0800 Subject: add xmake update --- README.md | 17 +++++++++++++++++ zh/README.md | 33 ++++++++++++++++++--------------- 2 files changed, 35 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 1b03566c..32282d93 100644 --- a/README.md +++ b/README.md @@ -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 [![asciicast](https://asciinema.org/a/133693.png)](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 ---- - -

-

- - - - -

xmake

- -
- +xmake"> travis-ci @@ -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` + ## 快速开始 [![asciicast](https://asciinema.org/a/133693.png)](https://asciinema.org/a/133693) -- cgit v1.2.3