Skip to content

Commit

Permalink
Merge pull request #65 from os-checker/feat/cargo-check-arguments-for…
Browse files Browse the repository at this point in the history
…warding

feat: forward cargo-check arguments; refactor cargo-rap
  • Loading branch information
hxuhack authored Oct 26, 2024
2 parents f6ef5ff + e94e68f commit a927a98
Show file tree
Hide file tree
Showing 10 changed files with 298 additions and 445 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,19 @@ Navigate to your Rust project folder containing a `Cargo.toml` file. Then run `c
[toolchain override shorthand syntax]: https://rust-lang.github.io/rustup/overrides.html#toolchain-override-shorthand

```shell
cargo +nightly-2024-06-30 rap # ... rest of options of cargo-rap
cargo rap [rap options] -- [cargo check options]

where `-- [cargo check options]` is optional, and if specified, they are passed to cargo check.
```
Alternatively, you can switch to the pinned toolchain ahead of time:
```rust
# set up rap's toolchain as default
rustup default nightly-2024-06-30

# run cargo rap without +toolchain syntax any more
cargo rap [rap options] -- [cargo check options]
```
Check out supported options with `-help`:
Expand Down
51 changes: 0 additions & 51 deletions rap/Cargo.lock

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

3 changes: 0 additions & 3 deletions rap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ name = "cargo-rap"
name = "rap"

[dependencies]
#lazy_static = "1.4"
rustc_version = "0.4.0"
cargo_metadata = "0.14.1"
snafu = "0.7.0"
chrono = "0.4.19"
serde_json = "1.0.72"
Expand Down
Loading

0 comments on commit a927a98

Please sign in to comment.