Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document --profile --cargo-profile --config-path #270

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,14 @@ OPTIONS:
Build artifacts in release mode, with optimizations

--profile <PROFILE-NAME>
Build artifacts with the specified profile
If used with Nextest, specifies Nextest profile to use, can be cusomized in the Nextest config file
If used with cargo, specifies cargo compilation profile to use

--config-file <PATH>
Path to the Nextest config file [default: workspace-root/.config/nextest.toml]

--cargo-profile <PROFILE-NAME>
If used with Nextest, build artifacts with the specified cargo profile

-F, --features <FEATURES>
Space or comma separated list of features to activate
Expand Down Expand Up @@ -345,7 +352,7 @@ By default, run tests (via `cargo test`), and print the coverage summary to stdo
cargo llvm-cov
```

Currently, doc tests are disabled by default because nightly-only features are required to make coverage work for doc tests. see [#2] for more.
Currently, doc tests are disabled by default because nightly-only features are required to make coverage work for doc tests. See [#2] for more.

To run `cargo run` instead of `cargo test`, use `run` subcommand.

Expand Down
9 changes: 8 additions & 1 deletion docs/cargo-llvm-cov.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,14 @@ OPTIONS:
Build artifacts in release mode, with optimizations

--profile <PROFILE-NAME>
Build artifacts with the specified profile
If used with Nextest, specifies Nextest profile to use, can be cusomized in the Nextest config file
If used with cargo, specifies cargo compilation profile to use

--config-file <PATH>
Path to the Nextest config file [default: workspace-root/.config/nextest.toml]

--cargo-profile <PROFILE-NAME>
If used with Nextest, build artifacts with the specified cargo profile

-F, --features <FEATURES>
Space or comma separated list of features to activate
Expand Down