mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-26 13:31:02 +00:00
49bb8cb0bc
* import migrations via macro * panic on database not to the latest migration * add subcommand to plm * create migration that run tantivy index creation * remove diesel_cli from places it was * use our migration system for tests * create table __diesel_schema_migrations if needed
15 lines
333 B
Bash
Executable file
15 lines
333 B
Bash
Executable file
#!/bin/bash
|
|
set -eo pipefail
|
|
for file in target/debug/*-*[^\.d]; do
|
|
if [[ -x "$file" ]]
|
|
then
|
|
filename=$(basename $file)
|
|
if [[ $filename =~ ^plume_macro ]]; then
|
|
rm $file
|
|
continue
|
|
fi
|
|
mkdir -p "target/cov/$filename"
|
|
kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$filename" "$file"
|
|
rm $file
|
|
fi
|
|
done
|