mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-25 11:17:13 +00:00
switch back to old cleaning strategy
Turns out, Cargo is pretty bad at cleaning after itself: I see .rmeta, .rlib and .d files after clean :(
This commit is contained in:
parent
bf3030404e
commit
4d544fbf9b
@ -1,9 +1,7 @@
|
||||
cache: cargo
|
||||
before_cache:
|
||||
# ask Cargo to clean up artifacts for workspace crates
|
||||
- cargo clean $(printf -- '--package %s ' $(cd crates; ls))
|
||||
# Cargo doesn't clean up depinfo itself, do it manually
|
||||
- find ./target/debug -maxdepth 2 -iname '*.d' -delete
|
||||
- find ./target/debug -maxdepth 1 -type f -delete
|
||||
- rm -fr ./target/debug/{deps,.fingerprint}/{*ra_*,*test*,*gen_lsp*,*thread_worker*}
|
||||
- rm -f ./target/.rustc_info.json
|
||||
|
||||
matrix:
|
||||
|
Loading…
x
Reference in New Issue
Block a user