Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-fast: Use target/ if available #3610

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

cgwalters
Copy link
Member

This avoids my IDE from transiently seeing a ton of newly added files. Same motivation as e.g.
coreos/cargo-vendor-filterer@aa4a366

This avoids my IDE from transiently seeing a ton of newly
added files.  Same motivation as e.g.
coreos/cargo-vendor-filterer@aa4a366
rm _install -rf
instroot=_install
# Rust projects will already have a handy directory for build artifacts
if test -d target; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional:

Suggested change
if test -d target; then
if test -f Cargo.toml && test -d target; then

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, but will roll this into a followup to avoid a whole CI cycle just for this

@cgwalters cgwalters merged commit c1aa145 into coreos:main Sep 19, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants