Skip to content

Commit

Permalink
Add cargo ci alias for ci tool (bevyengine#13280)
Browse files Browse the repository at this point in the history
# Objective

- Running `cargo run --package ci -- ...` is lengthy, and `cargo r -p ci
-- ...` isn't much better.
- Closes bevyengine#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.
  • Loading branch information
BD103 authored May 13, 2024
1 parent cbda71c commit 62bb83c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .cargo/config_fast_builds.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 --"

0 comments on commit 62bb83c

Please sign in to comment.