-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
32 additions
and
58 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[package] | ||
name = "ruxgo" | ||
version = "0.9.0" | ||
version = "0.9.1" | ||
edition = "2021" | ||
authors = ["Zewei Yang <[email protected]>"] | ||
description = "A Cargo-like build tool for building C and C++ applications" | ||
license = "Apache-2.0" | ||
homepage = "https://github.com/syswonder/ruxgo" | ||
repository = "https://github.com/syswonder/ruxgo" | ||
documentation = "https://ruxgo.syswonder.org/" | ||
keywords = ["toml", "build-tool", "rust", "c++", "c"] | ||
keywords = ["build-tool", "apps", "c++", "c", "toml"] | ||
|
||
[dependencies] | ||
toml = "0.7.2" | ||
|
@@ -17,7 +17,7 @@ itertools="0.10.5" | |
sha1 = "0.10.6" | ||
rayon = "1.7.0" | ||
indicatif = "0.17.3" | ||
clap = { version = "4.4.11", features = ["derive"] } | ||
clap = { version = "4.5.2", features = ["derive"] } | ||
directories = "5.0.1" | ||
serde = { version = "1.0.190", features = ["derive"] } | ||
serde_json = "1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
# Ruxgo 安装 | ||
|
||
要从源代码构建`ruxgo`可执行文件,你首先需要安装 Rust 和 Cargo。按照[Rust安装页面](https://www.rust-lang.org/tools/install)上的说明操作。Ruxgo 目前至少需要 Rust 1.74 版本。 | ||
要安装`ruxgo`可执行文件,您首先需要安装 Rust 和 Cargo。按照[Rust安装页面](https://www.rust-lang.org/tools/install)上的说明操作。Ruxgo 目前至少需要 Rust 1.74 版本。 | ||
|
||
一旦你安装了 Rust,就可以使用以下命令来构建和安装 Ruxgo: | ||
一旦您安装了 Rust,就可以使用以下命令来构建和安装 Ruxgo: | ||
|
||
```sh | ||
cargo install --git https://github.com/syswonder/ruxgo.git ruxgo | ||
cargo install ruxgo | ||
``` | ||
|
||
这将自动下载、构建 Ruxgo,并将其安装到 Cargo 的全局二进制目录(默认为`~/.cargo/bin/`)。 | ||
这将自动从[crates.io](https://crates.io/)下载并构建 Ruxgo,并将其安装到 Cargo 的全局二进制目录(默认为`~/.cargo/bin/`)。 | ||
|
||
发布到 crates.io 的版本将稍微落后于 GitHub 上托管的版本。如果您需要最新版本,您可以自己构建 Ruxgo 的 git 版本: | ||
|
||
要卸载,请执行命令`cargo uninstall ruxgo`。 | ||
```sh | ||
cargo install --git https://github.com/syswonder/ruxgo.git ruxgo | ||
``` | ||
|
||
**注意:** | ||
|
||
如果你在安装时遇到问题,可能需要安装一些构建依赖项,请参考 RuxOS 下的[README.md](https://github.com/syswonder/ruxos?tab=readme-ov-file#install-build-dependencies). | ||
如果您在安装时遇到问题,可能需要安装一些构建依赖项,请参考 RuxOS 下的[README.md](https://github.com/syswonder/ruxos?tab=readme-ov-file#install-build-dependencies). |