From b55b0fac924f228628a3bb6722da72e665e002be Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama Date: Fri, 19 Aug 2022 13:27:04 +0900 Subject: [PATCH] Update docs --- README_zh-CN.md | 22 +++++++++++----------- README_zh-TW.md | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/README_zh-CN.md b/README_zh-CN.md index d02355e2..68af5e20 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -165,17 +165,7 @@ cargo install erg ``` -### 从源代码构建 - -从源代码构建需要 Rust 工具链 - -```sh -git clone https://github.com/erg-lang/erg.git -cd erg -cargo build --release -``` - -通过启用`--feature`标志,你可以改变显示错误信息的语言。 +通过启用`--features`标志,你可以改变显示错误信息的语言。 * 日语 @@ -203,6 +193,16 @@ cargo install erg --features traditional_chinese cargo install erg --features debug ``` +### 从源代码构建 + +从源代码构建需要 Rust 工具链 + +```sh +git clone https://github.com/erg-lang/erg.git +cd erg +cargo build --release +``` + ### 使用Nix构建 如果你已经安装了 [Nix](https://nixos.org/), 则以下命令将在项目文件夹 `result/bin/erg` 下生成二进制文件 diff --git a/README_zh-TW.md b/README_zh-TW.md index a6a2324c..15928d61 100644 --- a/README_zh-TW.md +++ b/README_zh-TW.md @@ -165,17 +165,7 @@ cargo install erg ``` -### 從源代碼構建 - -從源代碼構建需要 Rust 工具鏈 - -```sh -git clone https://github.com/erg-lang/erg.git -cd erg -cargo build --release -``` - -通過啟用`--feature`標誌,你可以改變顯示錯誤信息的語言。 +通過啟用`--features`標誌,你可以改變顯示錯誤信息的語言。 * 日語 @@ -203,6 +193,16 @@ cargo install erg --features traditional_chinese cargo install erg --features debug ``` +### 從源代碼構建 + +從源代碼構建需要 Rust 工具鏈 + +```sh +git clone https://github.com/erg-lang/erg.git +cd erg +cargo build --release +``` + ### 使用Nix構建 如果你已經安裝了 [Nix](https://nixos.org/), 則以下命令將在項目文件夾 `result/bin/erg` 下生成二進製文件