Skip to content

Commit

Permalink
Update clap
Browse files Browse the repository at this point in the history
  • Loading branch information
BeichenY1 committed Mar 14, 2024
1 parent 3c278d0 commit 8f38e9f
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 58 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
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"
Expand All @@ -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"
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ To build the `ruxgo` executable from source, you will first need to install Rust

Once you have installed Rust, the following command can be used to build and install Ruxgo:

```sh
cargo install ruxgo
```

The version published to [crates.io](https://crates.io/) will ever so slightly be behind the version hosted on GitHub. If you need the latest version you can build the git version of ruxgo yourself.

```sh
cargo install --git https://github.com/syswonder/ruxgo.git ruxgo
```
Expand Down
36 changes: 0 additions & 36 deletions apps/redis/ruxos/config_linux_pkg.toml

This file was deleted.

16 changes: 10 additions & 6 deletions doc/ruxgo_book/src/installation.md
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).

0 comments on commit 8f38e9f

Please sign in to comment.