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.
This commit is contained in:
BD103 2024-05-13 14:33:47 -04:00 committed by GitHub
parent cbda71c2b3
commit 62bb83cbbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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. # 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] # [profile.dev]
# debug = 1 # 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 --"