veloren/.gitlab/scripts/coverage.sh

6 lines
292 B
Bash
Raw Normal View History

#!/bin/bash
echo "modifying files in 5s, ctrl+c to abort" && sleep 5
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;
time cargo tarpaulin --skip-clean -v -- --test-threads=2;