mirror of https://github.com/rust-lang/async-book
remove project dependant files from target dir before cache
This commit is contained in:
parent
4323d1fafc
commit
5405097f98
|
@ -12,6 +12,12 @@ script:
|
|||
- mdbook build
|
||||
- cargo test --all --manifest-path=./examples/Cargo.toml --target-dir ./target
|
||||
|
||||
before_cache:
|
||||
- find ./target/debug -maxdepth 1 -type f -delete
|
||||
- rm -rf ./target/debug/incremental
|
||||
- rm -rf ./target/debug/{deps,.fingerprint}/[0-9][0-9]_[0-9][0-9]_*
|
||||
- rm -f ./target/.rustc_info.json
|
||||
|
||||
env:
|
||||
RUSTINFRA_DEPLOY_DIR: book/html
|
||||
import:
|
||||
|
|
Loading…
Reference in New Issue