remove project dependant files from target dir before cache

This commit is contained in:
funkill2 2019-09-20 19:24:14 +03:00
parent 4323d1fafc
commit 5405097f98
No known key found for this signature in database
GPG Key ID: 9202B2432F86E487
1 changed files with 6 additions and 0 deletions

View File

@ -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: