cargo-binstall/crates/bin/src
Jiahao XU c08b8d232a
feat: Impl new option --continue-on-failure (#1559)
* feat: Impl new option `--continue-on-failure`

Resolve #1548

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Add new e2e-tests continue-on-failure

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Rm dup line ion `e2e-tests/live.sh`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix shellcheck

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix `BinstallError::crate_errors` if `errors.len()` is 1

In that case, it should return `Some(Self::CrateContext(_))` instead of
`Some(Self::Errors(_))`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Add more tests to `e2e-tests/continue-on-failure.sh`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Propagate crate errors on `confirm()` err

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Test having two errors in `e2e-tests/continue-on-failure.sh`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-08 12:09:45 +00:00
..
args.rs feat: Impl new option --continue-on-failure (#1559) 2024-01-08 12:09:45 +00:00
bin_util.rs feat: Impl new option --continue-on-failure (#1559) 2024-01-08 12:09:45 +00:00
entry.rs feat: Impl new option --continue-on-failure (#1559) 2024-01-08 12:09:45 +00:00
gh_token.rs Rm unnecessary warning msg "Failed to read git credential file" (#1479) 2023-11-08 22:06:32 +00:00
git_credentials.rs Rm unnecessary warning msg "Failed to read git credential file" (#1479) 2023-11-08 22:06:32 +00:00
install_path.rs Support --registry and more options from .cargo/config.toml (#1195) 2023-07-10 03:37:41 +00:00
lib.rs Fix GitHub token auto discovery (#1335) 2023-09-01 01:14:59 +00:00
logging.rs Investigate incorrect target detection (#1376) 2023-09-23 10:45:44 +00:00
main.rs Refactor cargo-binstall (#1302) 2023-08-18 01:59:48 +00:00
main_impl.rs Refactor cargo-binstall (#1302) 2023-08-18 01:59:48 +00:00
signal.rs Refactor to reduce compilation time (#1284) 2023-08-12 14:25:41 +00:00
ui.rs Fix panic in ui::confirm on I/O error (#576) 2022-11-29 05:53:45 +00:00