From 62bb83cbbcaa0af1f4791c715a03c1aaf8ee1bc9 Mon Sep 17 00:00:00 2001 From: BD103 <59022059+BD103@users.noreply.github.com> Date: Mon, 13 May 2024 14:33:47 -0400 Subject: [PATCH] Add `cargo ci` alias for `ci` tool (#13280) # Objective - Running `cargo run --package ci -- ...` is lengthy, and `cargo r -p ci -- ...` isn't much better. - Closes #13197. ## Solution - Add an opt-in alias to the `ci` tool with `cargo ci ...`. - You need to copy `config_fast_builds.toml` to `config.toml` to enable this functionality. ## Testing - Copy `config_fast_builds.toml` to `config.toml`, then run `cargo ci --help`. --- ## Changelog - Added `cargo ci` alias for internal `ci` tool. --- .cargo/config_fast_builds.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.cargo/config_fast_builds.toml b/.cargo/config_fast_builds.toml index ae5581b058..372a97d370 100644 --- a/.cargo/config_fast_builds.toml +++ b/.cargo/config_fast_builds.toml @@ -144,3 +144,8 @@ rustflags = [ # In most cases the gains are negligible, but if you are on macos and have slow compile times you should see significant gains. # [profile.dev] # debug = 1 + +# This is enables you to run the CI tool using `cargo ci`. +# This is not enabled by default, you need to copy this file to `config.toml`. +[alias] +ci = "run --package ci --"