mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-26 21:41:04 +00:00
6bb4f8514f
fix #523
11 lines
261 B
Bash
Executable file
11 lines
261 B
Bash
Executable file
#!/bin/bash
|
|
set -eo pipefail
|
|
for file in target/debug/*-*[^\.d]; do
|
|
if [[ -x "$file" ]]
|
|
then
|
|
filename=$(basename $file)
|
|
mkdir -p "target/cov/$filename"
|
|
kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$filename" "$file"
|
|
rm $file
|
|
fi
|
|
done
|