Create alias to ci
tool
#13197
Labels
A-Build-System
Related to build systems or continuous integration
C-Usability
A simple quality-of-life change that makes Bevy easier to use
D-Complex
Quite challenging from either a design or technical perspective. Ask for help!
What problem does this solve or what need does it fill?
Writing
cargo run -p ci -- ...
is lengthy and repetitive.What solution would you like?
Add an alias,
cargo ci
, which would be equivalent. This can be added to.cargo/config.toml
.Unfortunately there are a few issues with this.
config.toml
is currently.gitignore
-d because we encourage developers to configure their own, faster linkers. By adding the[alias]
table for everyone, we would have to removeconfig.toml
from.gitignore
, making every local modification to it visible in Git's staged changes.Even if we had a
config.toml
with just the[alias]
table andconfig_fast_builds.toml
separate, it would still run into the same issue because developers would have to copy the contents ofconfig_fast_builds.toml
over, thus showing up in Git.I'm not sure how to solve this, so I'm creating an issue for it. I think if it were possible to merge multiple
config.toml
files, this would be perfect, but I can't think of anything right now.What alternative(s) have you considered?
config_fast_builds.toml
, so you must opt-in to use the alias.Additional context
cargo-xtask
.[alias]
.The text was updated successfully, but these errors were encountered: