Merge branch 'xMAC94x/fix_tarpaulin' into 'master'

choose correct path for tarpaulin

See merge request veloren/veloren!2642
This commit is contained in:
Marcel 2021-07-18 18:10:57 +00:00
commit efdb9bef6c
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
# No '-' here is *very* important: https://docs.gitlab.com/ee/ci/yaml/#complex-rule-clauses
changes:
- "**/*.{glsl,png,rs,ron,toml,vox,yml,wav}"
- "**/*.{glsl,png,rs,ron,toml,vox,yml,wav,sh}"
- "rust-toolchain"
- "Cargo.lock"
- ".gitlab-ci.yml"
@ -14,7 +14,7 @@
.recompile:
rules:
- changes:
- "**/*.{glsl,png,rs,ron,toml,vox,yml,wav}"
- "**/*.{glsl,png,rs,ron,toml,vox,yml,wav,sh}"
- "rust-toolchain"
- "Cargo.lock"
- ".gitlab-ci.yml"

View File

@ -1,6 +1,6 @@
#!/bin/bash
echo "modifying files in 5s, ctrl+c to abort" && sleep 5
rm -r target/debug/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
rm -r target/tarpaulin/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
find ./* -name "Cargo.toml" -exec sed -i 's/, "simd"]/]/g' {} \;
find ./* -name "Cargo.toml" -exec sed -i 's/"simd"]/]/g' {} \;
sed -i 's/vek /#vek /g' ./Cargo.toml;